account: split class logic out and have it building

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-02-08 11:09:09 -05:00
parent 82b198f898
commit bfa3196b62
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
4 changed files with 36 additions and 8 deletions

View file

@ -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 () {
}