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

📄 saving.h

📁 一、教学目的: 能理解C++中运算符重载的需要性
💻 H
字号:
#ifndef savings
  #define savings

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

⌨️ 快捷键说明

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