how to make a macro in a header file run only once when included code example Example: header ifndef #ifndef HEADERFILE_H #define HEADERFILE_H #endif