codeblocks运行时汉字变乱码
settings->compiler settings
在other resource compiler options 中添加:
-finput-charset=WINDOWS-936
-fexec-charset=GBK
即可。
settings->compiler settings
在other resource compiler options 中添加:
-finput-charset=WINDOWS-936
-fexec-charset=GBK
即可。