📄 bank.h
字号:
// Bank.h: interface for the Bank class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BANK_H__EFBCBB0B_E7F2_477F_B0D4_891E75F4EBD9__INCLUDED_)
#define AFX_BANK_H__EFBCBB0B_E7F2_477F_B0D4_891E75F4EBD9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "AccountList.h"
class Bank
{
public:
int Transfer(int idfrom, int idto, double Amount);
int Withdraw(int id, double Amount);
int Save(int id, double Amount);
int GetBalance(int id, double *Balance);
int NewAccount(int Type, int *pID);
Bank();
virtual ~Bank();
private:
AccountList m_AccountList;
int m_iAccountNum;
};
#endif // !defined(AFX_BANK_H__EFBCBB0B_E7F2_477F_B0D4_891E75F4EBD9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -