⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 account.h

📁 本文档是C++程序设计教程系列的部分辅助代码。
💻 H
字号:
//*********************
//**    account.h    **
//*********************

#ifndef ACCOUNT
#define ACCOUNT

class Account{
public:
  Account(unsigned accNo, float balan=0.0);
  unsigned AccountNo();
  float AcntBalan();
  static Account*& First();
  Account* Next();
  static int NoAccounts();
  void Display();
  void Deposit(float amount);
  virtual void Withdrawal(float amount);
protected:
  static Account* pFirst;
  Account* pNext;
  static int count;
  unsigned acntNumber;
  float balance;
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -