运行一个简单的C程序失败了,请指教。
发表于 : 2007-10-28 15:50
用geany编写了个C的程序
命名为test.c在终端运行却出现下面的提示#include<stdio.h>
int main()
{
printf("helloworld");
return 0;
}
不知道为什么。请大家指教。谢谢。catherin@catherin-laptop:~$ gcc test.c -o test
gcc: test.c:No such file or directory
gcc: 没有输入文件
catherin@catherin-laptop:~$