i was in the cpreprocessor tutorial in the beginner C++ tutorial section.
i understood every thing in the lesson (#include, constants and macros).
but i couldn't understand a thing about the conditional compilation...
i understood what the #if #endif #elif #else #ifndef and #ifdef mean..
but i didn't understand how to put them to use...
all i wanna know is what is the use of such statements and how to use them..
PS. Explain in simple terms please, since i do not know much about c++ but i'm well-versed with all the stuff taught in the lessons in the beginner series before the c preprocessor tut.