c++ define if not defined code example Example: if not defined c++ #ifndef DATASPEC_INCLUDE_H #define DATASPEC_INCLUDE_H //code #endif