account.h

来自「MFC写的银行储蓄系统」· C头文件 代码 · 共 26 行

H
26
字号
#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 + =
减小字号Ctrl + -
显示快捷键?