求救:expected identifier or ‘(’ before numeric constant
发表于 : 2012-02-27 12:44

hello world文件
#include <stdio.h>
int main(void)
{
printf("Hello, world!\n");
return 0;
}
然后保存到hello.c
再gcc hello.c
结果就出现了
hello.c:30:1: 错误: expected identifier or ‘(’ before numeric constant
太奇怪了。
请帮助,谢谢