花费 6 ms
关于visual Studio中C++版本的问题

在MSVC中,编译器通过_MSVC_LANG宏来判断C++的版本号,其他编译器通过__cplusplus 宏来判断。   所以可以通过使用:cout<<_MSVC_LANG<< ...

Mon Dec 09 00:41:00 CST 2019 0 843

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM