codeblocks运行console的问题

来源:互联网 发布:aes加密c语言程序 编辑:程序博客网 时间:2024/06/05 18:38

最近在F10下用C::B编程,发现每次写完程序,编译正确通过,但是运行时xterm却没打开。不得不跑到程序目录下运行才能看到结果。

 

其实只要运行

su -c 'yum update xterm'

升级一下xterm就可以了

 

鉴于xterm启动太慢,调试程序时可能会吐血。所以有个好建议就是使用gnome-terminal。。

只要Setting==>Environment...==>General Setting==>Terminal to lanuch console programs:

用“gnome-terminal -t $TITLE -x”替换掉“xterm -T $TITLE -e”就搞定了!

原创粉丝点击