编译错误:This file requires compiler and ...
1、点击菜单栏中settings按钮,选择complier功能

2、在compilersettings > compiler flags > Have g++ follow the C++11 ISO C++ language standard [-std=c++11]后面打勾

3、点击ok确认

4、rebuild程序


5、运行程序

6、完美!

阅读量:115
阅读量:87
阅读量:46
阅读量:163
阅读量:50