section 4.11.1: File Inclusion

The two syntaxes for #include lines can be used in various ways, but very simply speaking, "" is for header files you've written, and <> is for headers which are provided for you (which someone else has written).

page 89

Deep sentences:

#include is the preferred way to tie the declarations together for a large program. It guarantees that all the source files will be supplied with the same definitions and variable declarations, and thus eliminates a particularly nasty kind of bug. Naturally, when an included file is changed, all files that depend on it must be recompiled.
That's the story on #include, in a nutshell.


Read sequentially: prev next up top

This page by Steve Summit // Copyright 1995, 1996 // mail feedback