Does anyone know what '#ifndef xxxx' means? I need to know for my C++ class and I can't find it anywhere in my book!
Printable View
Does anyone know what '#ifndef xxxx' means? I need to know for my C++ class and I can't find it anywhere in my book!
Someone asked that question recently... this link should take you to the thread ...
ifndef thread
If not, it's on the same page as this question at the moment :)
Almosthere
Someone asked that question recently... this link should take you to the thread ...
ifndef thread
If not, it's on the same page as this question at the moment :)
Almosthere
oops.. sorry, back buttons not liked by board :D
The #ifndef directive checks for the existence of a manifest constant. If the constant has not been defined, it is immediately defined and the file is included. If the constant has been defined, everything between the #ifndef and #endif directives is skipped.