📄 account.h
字号:
#ifndef ACCOUNT
#define ACCOUNT
class Account
{
public:
Account(int accNo, double bal=0.0);
int AccountNo();
double GetBalance();
static Account*& getFirst();
Account*& getNext();
static int &NoAccounts();
void Deposit(double amount);
virtual void Withdrawal(double amount) {};
Password(long pass);
long& getPass();
protected:
static Account* pFirst;
Account* pNext;
static int count;
int acntNumber;
double balance;
long password;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -