hello.c:3: 错误: 在调试器里重新运行此程序
hello.c:3: 错误: 在调试器里重新运行此程序
hello.c:3: 错误: 在调试器里重新运行此程序
hello.c: 在函数‘main’中:
hello.c:3: 错误: expected declaration specifiers before ‘printf’
hello.c:4: 错误: expected declaration specifiers before ‘return’
hello.c:5: 错误: 在调试器里重新运行此程序
hello.c:5: 错误: 在调试器里重新运行此程序
hello.c:5: 错误: 在调试器里重新运行此程序
hello.c:5: 错误: expected ‘{’ at end of input
wangfei@wangfei-desktop:~$
程序是照着视频教程里面写的,只用了printf函数,应该没有错,但Gcc编译时出现上诉的显示,是怎么回事阿???
第一次Linux下编程的问题!
- wangfei
- 帖子: 27
- 注册时间: 2008-04-06 22:15
- 联系: