作者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