USER_NOTES

sima/USER_NOTES · 525 B

From the archive 970706-sima.tgz

Download the archive   « Back to the archive contents

If you have an #include file that should be #included only once, use
a sequence like

#ifndef H_FOOHEADER
#define H_FOOHEADER
... main header file contents
#endif

The #endif should be in the last line of the file, and this line should only
contain the #endif and whitespace and/or comments.
If this line is terminated by a single newline, which is the default on unix
systems, the preprocessor will recognize this construct and need not even
bother to skip through the main body of your header file when it reencounters
it.

Site Stats

Snippets: 1791
Codebases: 571