Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Geany中c语言源程序,点击 执行 ,终端中无显示
Apps Section
1563
views ·
5
replies ·
To
floor
Go
login
deepin
2014-08-01 16:26
Author
源程序:
#include
int main(void)
{
int n=0;
while(n<=1000)
{
printf("hello world\n");
n++;
}
return 0;
}
注:我已经点击过 编译 和 生成按钮了,都提示 编译成功结束。然后我点击执行按钮,弹出的深度终端中,无任何显示。我在虚拟终端中手动执行,能正常输出。Geany中设置生成命令为默认值,没有改动参数。请问这是什么问题。
Reply
Like 0
Favorite
View the author
All Replies
zhiyizhi
deepin
2014-08-01 16:40
#1
我在Debian下测试了,能正常运行。估计是Geany在Linuxdeepin中运行时需要对终端进行必要的设置一下才行。请尝试把geany的Preferences->Tools->Terminal更改成Deepin的默认终端后试试看。
Reply
Like 0
View the author
login
deepin
2014-08-01 19:08
#2
geany的Preferences->Tools->Terminal的参数是默认值,应该没有问题
Reply
Like 0
View the author
login
deepin
2014-08-01 19:10
#3
有没有解决的办法呀,是不是深度终端不兼容啊,我在网上查了一下,好像在ubuntu里是没问题的。
Reply
Like 0
View the author
login
deepin
2014-08-03 07:56
#4
我找到的原因是 Geany虚拟终端 参数为:x-terminal-emulator -e "/bin/sh %c",此参数不能执行Geany自动生成的sh脚本,有人知道怎么解决吗
Reply
Like 0
View the author
login
deepin
2014-09-15 02:32
#5
今天升级到Deepin 2014.1,试了一下已经可以了,感谢!!!!!
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
#include
int main(void)
{
int n=0;
while(n<=1000)
{
printf("hello world\n");
n++;
}
return 0;
}
注:我已经点击过 编译 和 生成按钮了,都提示 编译成功结束。然后我点击执行按钮,弹出的深度终端中,无任何显示。我在虚拟终端中手动执行,能正常输出。Geany中设置生成命令为默认值,没有改动参数。请问这是什么问题。