account: split class logic out and have it building
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
82b198f898
commit
bfa3196b62
4 changed files with 36 additions and 8 deletions
|
@ -6,7 +6,8 @@ using namespace std;
|
|||
|
||||
#include "account.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
Account account(0.0);
|
||||
return EXIT_SUCCESS;
|
||||
Account::Account ( double initial_balance ) : balance(initial_balance) {
|
||||
}
|
||||
|
||||
Account::~Account () {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue