Is there any standard way to test what system your code is being compiled on? I've seen it done like
What are these macros for different compilers?Code:#ifdef WIN32__UNDERSCORE_GARBAGE_MACRO_THING //WIN32-dependent code #endif
Is there any standard way to test what system your code is being compiled on? I've seen it done like
What are these macros for different compilers?Code:#ifdef WIN32__UNDERSCORE_GARBAGE_MACRO_THING //WIN32-dependent code #endif
"If you tell the truth, you don't have to remember anything"
-Mark Twain
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Jackpot. Thanks, Salem.
"If you tell the truth, you don't have to remember anything"
-Mark Twain