DevC++ 上的ISO C++ 11开关,使用C++ 11新特性

用DevC++ 运行C++ 程序时,出现如下错误

error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must  be enabled with the -std=c++11 or -std=gnu++11 compiler options.

按下图设置即可。




猜你喜欢

转载自blog.csdn.net/u011254180/article/details/80314520