Next: #if - Conditional inclusion Up: The C Preprocessor Previous: #undef


This directive includes a file into code.

It has two possible forms:

<file> tells the compiler to look where system include files are held. Usually UNIX systems store files in usrinclude directory.

``file'' looks for a file in the current directory (where program was run from)

Included files usually contain C prototypes and declarations from header files and not (algorithmic) C code (SEE next Chapter for reasons)
Wed Sep 14 10:06:31 BST 1994