•Preprocessor commands provide instructions
to the compiler.
•They always start with #
•Example: #include
–Copies source code into the
program from the specified file.
–#include <iostream>
contains class information for input and output.
–#include <cmath> contains
code for many common mathematical functions, such as square
root, cosine, and exponentiation.
–
–