34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Account.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/10/23 16:11:46 by rparodi #+# #+# */
|
|
/* Updated: 2024/10/23 16:52:20 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "Account.hpp"
|
|
|
|
Account::Account()
|
|
{
|
|
_nbAccounts = 0;
|
|
_totalAmount = 0;
|
|
_totalNbDeposits = 0;
|
|
_totalNbWithdrawals = 0;
|
|
}
|
|
|
|
static int Account::getNbAccounts()
|
|
{
|
|
t.size();
|
|
}
|
|
|
|
static int Account::getTotalAmount();
|
|
|
|
static int Account::getNbDeposits();
|
|
|
|
static int Account::getNbWithdrawals();
|
|
|
|
static void Account::displayAccountsInfos();
|