tmp.c/account.h
Vincent Batts bfa3196b62
account: split class logic out and have it building
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-08 11:09:09 -05:00

35 lines
1.1 KiB
C++

/*
* =====================================================================================
* Class: Account
* Description:
* =====================================================================================
*/
class Account
{
public:
/* ==================== LIFECYCLE ======================================= */
//Account (); /* constructor */
//Account ( const Account &other ); /* copy constructor */
Account ( double initial_balance );
~Account (); /* destructor */
/* ==================== ACCESSORS ======================================= */
/* ==================== MUTATORS ======================================= */
/* ==================== OPERATORS ======================================= */
Account& operator = ( const Account &other ); /* assignment operator */
protected:
/* ==================== DATA MEMBERS ======================================= */
private:
/* ==================== DATA MEMBERS ======================================= */
double balance;
}; /* ----- end of class Account ----- */