[問題] modCalc

看板EE_DSnP作者 (只要有希望永遠不會結束)時間15年前 (2009/04/17 00:34), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
打入一些指令 結果出現下面的終止訊息 terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr 請問應該要改什麼地方呢? 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.193.14.164

04/17 00:39, , 1F
用到substr的地方傳進去的參數超過string的長度
04/17 00:39, 1F
文章代碼(AID): #19vrudXg (EE_DSnP)