program
printf("床前明月光,"\n);
^
/249/5108/HF0N/hello.c:5:31: error: expected ')' before 'n'
printf("床前明月光,"\n);
^
/249/5108/HF0N/hello.c:6:5: error: stray '\' in program
printf("疑是地上霜."\n);
^
/249/5108/HF0N/hello.c:6:31: error: expected ')' before 'n'
printf("疑是地上霜."\n);
^
/249/5108/HF0N/hello.c:7:5: error: stray '\' in program
printf("举头望明月,"\n);
^
/249/5108/HF0N/hello.c:7:31: error: expected ')' before 'n'
printf("举头望明月,"\n);
^
/249/5108/HF0N/hello.c:8:5: error: stray '\' in program
printf("低头思故乡."\n);
^
/249/5108/HF0N/hello.c:8:31: error: expected ')' before 'n'
printf("低头思故乡."\n);
^
/249/5108/HF0N/hello.c:14:128: error: expected statement before ']' token
return 0; ]
你居然把编译报错也复制了,首先要从上面的报错开始修改。
换行符 \n 要在双引号里面
发下代码啊...这样不好判断