看板 EE_DSnP 關於我們 聯絡資訊
請問一下為甚麼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
timrau:往前看 10/12 23:28
chickenwing:?? 10/12 23:38
timrau:不一定是多或少一個} 有可能是其他錯誤啊 10/12 23:46
ric2k1:class 沒有加 ; ? 10/13 00:07
noblebell:我是syntax error at end of input..... 10/13 00:53
chickenwing:CLASS後有加";"...還在找是甚麼錯誤XD 10/13 00:59
ric2k1:或者是將 code comment out 掉一部分, binary search 一下 10/13 01:00