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)
Fri May 20 13:40:49 BST 1994