Linux下Code::Blocks无法编译运行提示 /bin/sh: 1: g++ not found 的解决办法 今天在Ubuntu 12.04 软件中心中选装了Code::Blocks,安装完成后却连最简单的hello world 都无法编译运行. 编译时提示 /bin/sh: 1: g++: not found 运行时总提示 It seems that this file has not been built yet. Do you want to build it now? 因为系统没
相信各位大大們應該都有聽過Code::Blocks這個IDE,但網路上有許多人反應Code::Blocks不能編出中文的Console程式,但 Code::Blocks最新的版本預設使用UTF-8做為編輯器預設編碼,是支援中文的,只是GCC Compiler是UTF-8 in UTF-8 out,又因為cmd的UTF-8顯示有問題,所以只要把GCC Compiler參數設定好就好了. 先留意一下Editor設定 Settings->Editor... Use encoding when open