这是CodeBlocks编译器设置问题,在CodeBlocks菜单选择
Settings -> Compiler and debugger settings -> Global compiler settings -> Other options ,在其中输入语句
-fexec-charset=GBK -finput-charset=UTF-8
Stella981
2021-10-11
这是CodeBlocks编译器设置问题,在CodeBlocks菜单选择
Settings -> Compiler and debugger settings -> Global compiler settings -> Other options ,在其中输入语句
-fexec-charset=GBK -finput-charset=UTF-8