Codeblocks中文问题

xiaoxiao2026-04-14  6

打算用codeblocks+wxWidgets编写一个应用软件,结果发现一旦程序中包含中文,就无法编译通过。查找相关资料,发现之需要在菜单中配置一下,将编码改为gbk即可。 具体设置如下: settings -> compiler and debugger settings -> global compiler settings -> compiler settings -> Other Options, 在其中输入语句 -finput-charset=GBK 保存即可。 相关资源:CodeBlocks中文版
转载请注明原文地址: https://www.6miu.com/read-5047370.html

最新回复(0)