/in/foo.cc:23:9: error: 'double Account::getBalance()' cannot be overloaded
double getBalance();
^~~~~~~~~~
/in/foo.cc:13:9: error: with 'double Account::getBalance()'
double getBalance() { return balance; }
^~~~~~~~~~
/in/foo.cc:74:8: error: redefinition of 'double Account::getBalance()'
double Account::getBalance()
^~~~~~~
/in/foo.cc:13:9: note: 'double Account::getBalance()' previously defined here
double getBalance() { return balance; }
^~~~~~~~~~
/in/foo.cc: In member function 'double CheckingAccount::debit(double)':
/in/foo.cc:114:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^