作者timmy010 (timmy231623)
看板EE_DSnP
标题[问题] 作业hw1.2.p2b.cpp
时间Sat Oct 15 13:36:08 2011
不好意思请问一下,
我compile是过的
但在值行时跑出
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
後来在ddd发现
他在2001年那笔资料
当他要把book存入_book时就挂了
後来cout 撷取的book
跑出
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
A Study in ScarletArmelle et ClaudeDeath Comes as the EndDrifting Down the
DeltaEmmaEvil Under the SunFantastic Beasts and Where to Find Them已经终止
现在不知道该怎麽办qq
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.25.107
1F:推 ric2k1:可以参考一下我 3226 篇的推文 10/15 22:27