Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(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

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict