新手求助!VMare下ubuntu无法使用Vim编程器相关

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
lhy2050
帖子: 2
注册时间: 2011-03-19 17:13

新手求助!VMare下ubuntu无法使用Vim编程器相关

#1

帖子 lhy2050 » 2011-04-04 22:14

各位达人,我是新手,下面的问题,不知道怎么回事,谢谢了!

我用vim 新建 hello.c 使用gcc命令后,出现默认a.out 可是输入a.out无法显示hello world! 到底哪里出问题了呢?
输入.\a.out 也不行


图片

图片

图片
levee
帖子: 3030
注册时间: 2009-10-03 23:31

Re: 新手求助!VMare下ubuntu无法使用Vim编程器相关

#2

帖子 levee » 2011-04-04 22:50

图看不见。a.out有可执行权限吗?
lhy2050
帖子: 2
注册时间: 2011-03-19 17:13

Re: 新手求助!VMare下ubuntu无法使用Vim编程器相关

#3

帖子 lhy2050 » 2011-04-05 12:38

levee 写了:图看不见。a.out有可执行权限吗?

有的,有可执行权限,显示的是 command can not be found

不知道为什么。。 我用的是前段时间下载的ubuntu10.10,
附件
4849813848725049052.jpg
头像
灰色小狼
帖子: 4585
注册时间: 2008-12-06 10:38
系统: Arch

Re: 新手求助!VMare下ubuntu无法使用Vim编程器相关

#4

帖子 灰色小狼 » 2011-04-05 12:51

¥./a.out
回复