本人正在学习gcc但写了最简单的hello world程序,gcc 编译出现如下错误:
hello.c:1: parse error before "buffer"
hello.c:1:36: missing terminating ' character
hello.c:1:36: warning: character constant too long
hello.c:2: parse error before "you"
hello.c:2: parse error before "that"
hello.c:3: parse error before "enter"
hello.c:3:36: missing terminating ' character
hello.c:3:36: warning: character constant too long
hello.c:1: parse error before "buffer"
源码里哪有“buffer”呀?
hello.c:1:36: missing terminating ' character
hello.c:1:36: warning: character constant too long
hello.c:2: parse error before "you"
????
hello.c:2: parse error before "that"
????
hello.c:3: parse error before "enter"
????
hello.c:3:36: missing terminating ' character
hello.c:3:36: warning: character constant too long