Preprocessor macro defined if compiling C++ source code.
__cplusplus
The compiler defines this macro when compiling C++ source code. This macro is undefined otherwise.