首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

GCC安装有关问题

2012-03-01 
GCC安装问题我按照网上教程安装好了GCC,但运行编译hello.c,报错:hello.c: In function `main:hello.c:4:

GCC安装问题
我按照网上教程安装好了GCC,但运行编译hello.c,报错:
hello.c: In function `main':
hello.c:4: error: stray '\161' in program
hello.c:4: error: stray '\176' in program
hello.c:4: error: `Start' undeclared (first use i
hello.c:4: error: (Each undeclared identifier is
hello.c:4: error: for each function it appears in
hello.c:4: error: syntax error before "to"
hello.c:4: error: stray '\161' in program
hello.c:4: error: stray '\177' in program
hello.c:6:2: warning: no newline at end of file
请高手指点一下,急啊

[解决办法]
printf里面的引号是中文的,改成英文的应该就好了

热点排行