编译错误:This file requires compiler and ...

2025-10-16 23:45:33

1、点击菜单栏中settings按钮,选择complier功能

编译错误:This file requires compiler and ...

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

编译错误:This file requires compiler and ...

3、点击ok确认

编译错误:This file requires compiler and ...

4、rebuild程序

编译错误:This file requires compiler and ...

编译错误:This file requires compiler and ...

5、运行程序

编译错误:This file requires compiler and ...

6、完美!

编译错误:This file requires compiler and ...

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