Comment

Comment by rootbear

It seems to me that all this fuss over multiple includes and include guards would be solved by something like a #stop directive:

  #ifdef STDIO_H
  #stop
  #endif
  #define STDIO_H
which would cause the preprocessor to skip the rest of the file. How would this not be a better solution? What am I missing?
parent rootbear 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton