47 lines
859 B
C++
47 lines
859 B
C++
#include "Account.hpp"
|
|
#include <iostream>
|
|
|
|
Account::Account( int initial_deposit ) {
|
|
std::cout << "hello" << std::endl;
|
|
return 1;
|
|
}
|
|
|
|
Account::~Account( void ) {
|
|
return;
|
|
}
|
|
|
|
/*
|
|
typedef Account t;
|
|
|
|
static int getNbAccounts( void );
|
|
static int getTotalAmount( void );
|
|
static int getNbDeposits( void );
|
|
static int getNbWithdrawals( void );
|
|
static void displayAccountsInfos( void );
|
|
|
|
Account( int initial_deposit );
|
|
~Account( void );
|
|
|
|
void makeDeposit( int deposit );
|
|
bool makeWithdrawal( int withdrawal );
|
|
int checkAmount( void ) const;
|
|
void displayStatus( void ) const;
|
|
|
|
|
|
private:
|
|
|
|
static int _nbAccounts;
|
|
static int _totalAmount;
|
|
static int _totalNbDeposits;
|
|
static int _totalNbWithdrawals;
|
|
|
|
static void _displayTimestamp( void );
|
|
|
|
int _accountIndex;
|
|
int _amount;
|
|
int _nbDeposits;
|
|
int _nbWithdrawals;
|
|
|
|
Account( void );
|
|
*/
|