C++, Programming IT Nursery 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... May 31, 2022 0 Comments