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