作者chickenwing (雞翅膀)
看板EE_DSnP
標題[問題] hw1.2.p2b
時間Mon Oct 12 23:22:25 2009
請問一下為甚麼complie時會出現以下錯誤
hw1.2.p2b.cpp:81: 錯誤: expected `}' at end of input
hw1.2.p2b.cpp:81: 錯誤: expected unqualified-id at end of input
hw1.2.p2b.cpp:81: 錯誤: expected `}' at end of input
hw1.2.p2b.cpp:81: 錯誤: expected unqualified-id at end of input
DEBUG了很久...
確認沒有打少一個"}"...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.243.131
1F:推 timrau:往前看 10/12 23:28
2F:→ chickenwing:?? 10/12 23:38
3F:推 timrau:不一定是多或少一個} 有可能是其他錯誤啊 10/12 23:46
4F:推 ric2k1:class 沒有加 ; ? 10/13 00:07
5F:推 noblebell:我是syntax error at end of input..... 10/13 00:53
6F:→ chickenwing:CLASS後有加";"...還在找是甚麼錯誤XD 10/13 00:59
7F:推 ric2k1:或者是將 code comment out 掉一部分, binary search 一下 10/13 01:00