codeblocks中更改gnome-terminal终端调试方法
http://forums.codeblocks.org/index.php?topic=3055.msg%msg_id%
codeblocks中默认的终端事xterm,但是xterm的中文支持不是很好,所以当你显示中文的时候,他往往直接显示空白。
将xterm换为gnome-terminal是一个很好的选择,gnome-terminal下中文的显示要比xterm好很多。
将设置里面的环境项中xterm一项改为gnome-terminal -x
问题可完美解决
![](http://www.cnblogs.com/images/cnblogs_com/hanyulcf/%E7%96%AF%E7%8B%82%E8%B6%B3%E7%90%83.jpg)