為什么會(huì)出現(xiàn)兩個(gè)?
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("低頭思故鄉(xiāng)."\n); ?
? ? ^
/249/5108/HF0N/hello.c:8:31: error: expected ')' before 'n'
? ? printf("低頭思故鄉(xiāng)."\n); ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^
/249/5108/HF0N/hello.c:14:128: error: expected statement before ']' token
? ? return 0; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?] ?
2016-10-05
你居然把編譯報(bào)錯(cuò)也復(fù)制了,首先要從上面的報(bào)錯(cuò)開始修改。
2016-10-02
換行符 \n 要在雙引號(hào)里面
2016-10-02
發(fā)下代碼啊...這樣不好判斷