#pragma once #ifdef _MSC_VER /// Visual Studio (VC++ Compiler) #include #undef main #include #include #include /// VC++ does not implied C++ exception. Use this to ignore compile warning on this. #pragma warning (disable:4290) #else /// CodeBlocks (MinGW Compiler) #include #undef main #include #include #include #endif /// End of #ifdef _MSC_VER #define _DECL_DEPRECATED [[deprecated]]