The Preprocessor
Include files are used to incorporate header files that are used by many files within a project or by many different projects.
# include <cstdio> // include standard I/O library # include "rational.h" // include my own header file
The #include directive differs from the #import statement:
- Not a statement and does not end with a semicolon.
- Performs a textual inclusion, which is not true for Java