bank.h
来自「是银行atm机的基本功能实现」· C头文件 代码 · 共 30 行
H
30 行
// 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 + =
减小字号Ctrl + -
显示快捷键?