?? checking.h
字號(hào):
//=====================================
// checking.h
//=====================================
#ifndef HEADER_CHECKING
#define HEADER_CHECKING
//-------------------------------------
#include<string>
using std::string;
//-------------------------------------
enum REMIT{remitByPost, remitByCable, other}; //信匯, 電匯, 無(wú)
//-------------------------------------
class Checking{
string acntNumber;
double balance;
REMIT remittance;
public:
Checking(string acntNo, double balan=0.0);
void display()const;
void deposit(double amount){ balance += amount; }
double getBalan()const{ return balance; }
void withdrawal(double amount);
void setRemit(REMIT re){ remittance = re; }
};//-----------------------------------
#endif // HEADER_CHECKING
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -