C++ Compiler Detection

Compiler Detection
Example code: // Visual Studio code // gcc code Compiler-specific defines: __MINGW32__ - MinGW _MSC_VER    - Visual Studio __GNUC__    - Any gcc compiler
 * 1) if defined(_MSC_VER)
 * 1) elseif defined(__GNUC__)
 * 1) else
 * 2) error "unknown compiler"
 * 3) endif