C++ compiling on Windows and Linux: ifdef switch [duplicate]
This question already has answers here: How do I check OS with a preprocessor directive? (16 answers) Closed 7 years ago. I want to run some c++ code on Linux and Windows. There are some pieces of code that I want to include only for one operating system and not the other. Is there a … Read more