codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案

codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案

在这里插入图片描述

一、点击"Settings"和"Compiler"。

在这里插入图片描述

二、选择“Have g++ follow the C++…”这个选项,然后点击“OK”。

在这里插入图片描述

三、再重新运行,就解决这个问题了!

猜你喜欢

转载自blog.csdn.net/rothschild666/article/details/103742822
今日推荐