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”。

在這裏插入圖片描述

三、再重新運行,就解決這個問題了!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章