account.h

来自「银行业务」· C头文件 代码 · 共 24 行

H
24 行
字号
//********************************
//**         account.h        	 **
//********************************
#pragma once 
class Account
{
public:
	Account(unsigned accNo,float balan=0.0);
	int 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;
};

⌨️ 快捷键说明

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