The Preprocessor
A common idiom is found in header files to prevent the contents of file from being scanned by the compiler twice, should the file happen to be included more than one time.
// see if file has already been scanned # ifndef FOOCLASSDEFINITION // if not, then define symbol now, so later // inclusions will skip this file # define FOOCLASSDEFINITION ... // contents of file # endif