[問題] 林宗毛班 HW8 12.10的小問題

看板NTUEE110HW作者 (老千)時間19年前 (2007/01/05 01:11), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
第一個derived class SavingsAccount 最後那一段文字: [Note: SavingsAccount should inherit member functions credit and debit as is without redefining them.] 問題是根本不會用到debit()啊.....要理他嗎?? ----------------------------------------------------------------------------- 第二個derived class CheckingAccount 裡面要我們重新定義credit() 和 debit(), 提款時只有成功才要扣手續費 最後那個hint 建議把Account's debit 設成bool,那這樣要怎麼印出"Debit amount exceeded account balance."?(我說的是原來Account裡面的定義) -- I am the bone of my paper. Pen is my body, and ink is my blood. I have finished over a thousand assignments. Unknown to pass. Nor known to fail. Have withstood pain to take many midterms. Yet, those hands will never write anything. So as I pray, Unlimited homeworks. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.248.166.161 ※ 編輯: Leeng 來自: 60.248.166.161 (01/05 02:35)

01/08 01:39, , 1F
那題看完題目之後都係...不知所措
01/08 01:39, 1F
文章代碼(AID): #15dJL5d- (NTUEE110HW)