/* if a #define DEBUG_MODE has been previously declared, then the PROGRAM_VERSION will be defined with the debug string. Otherwise, if it was not, or was undefined with the #undef directive, the PROGRAM_VERSION will be defined with the release string */
#ifdef DEBUG_MODE
#define PROGRAM_VERSION "Version 1.0 (Debug)"
#else
#define PROGRAM_VERSION "Version 1.0 (Release)"
#endif
/* To allows headers to be included in multiple files without being repeatedly parsed, the conditional define keywords can be used as well */
#ifndef THISHEADER_H
#define THISHEADER_H
// insert header file contents here
#endif
|