佐米亚
2018-08-20 16:16
下面是错误提示找不到哪错了 ,分号改了啊。
hello.c: In function 'main':
hello.c:5:5: error: expected ';' before 'printf'
printf ("怎么爱你都不嫌多\n")
^~~~~~
hello.c:8:13: error: stray '\357' in program
return 0;
^
hello.c:8:14: error: stray '\274' in program
return 0;
^
hello.c:8:15: error: stray '\233' in program
return 0;
这不是没有分号么
#include <stdio.h>
int main()
{
printf ("你是我的小呀小苹果儿\n")
printf ("怎么爱你都不嫌多\n")
printf ("红红的小脸儿温暖我的心窝\n")
printf ("点亮我生命的火 火火火火\n")
return 0;
}
C语言入门
928162 学习 · 21543 问题
相似问题