(C++) \#ifndef

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) #ifndef

 

#ifndef is an abbreviation of 'if not defined' and is the preprocessor equivalent of an if-statement.

 


#ifndef LOW_FRAME_RATE   const int frames_per_second = 60; #else   const int frames_per_second = 20; #endif