编译错误: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、完美!

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:53
阅读量:191
阅读量:188
阅读量:38
阅读量:156