__cplusplus

Preprocessor macro defined if compiling C++ source code.

Syntax
  __cplusplus
  
  
Remarks

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