資源簡介
銀行儲蓄系統生成xml文件
代碼片段和文件信息
//?Bank.cpp:?implementation?of?the?Ban?class.
//
//////////////////////////////////////////////////////////////////////
#include?“Bank.h“
//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////
Account::Account()
{
balance?=?0;
}
Account::Account(string?astring?bdouble?bal)
{
Account_name?=?a;
name?=?b;
balance?=?bal;
}
void?Account::saving(double?a)
{
balance?=?balance?+?a;
}
void?Account::getOutMoney(double?a)
{
if(a?>?balance)
cout<<“余額不足“< else
{
balance?=?balance?-?a;
cout?<“已取出“?< }
}
void?Account::showme()
{
cout?<“用戶賬號為“?< cout?<“開戶人姓名“?< cout?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-06-28?09:07??銀行提交\
?????文件????????7187??2016-06-28?09:06??銀行提交\Bank.cpp
?????文件????????1635??2016-06-26?17:50??銀行提交\Bank.h
?????文件?????????668??2016-06-28?09:04??銀行提交\Bank.xm
?????文件?????????623??2016-06-26?17:02??銀行提交\main.cpp
?????文件?????????411??2016-06-23?19:51??銀行提交\resource.h
?????文件????????2719??2016-06-23?16:17??銀行提交\tinystr.cpp
?????文件????????9102??2016-06-23?16:17??銀行提交\tinystr.h
?????文件???????40542??2016-06-23?16:17??銀行提交\tinyxm
?????文件???????66513??2016-06-23?16:17??銀行提交\tinyxm
?????文件????????1863??2016-06-23?16:17??銀行提交\tinyxm
?????文件???????38973??2016-06-23?16:17??銀行提交\tinyxm
?????文件????????2223??2016-06-23?17:17??銀行提交\xm
?????文件????????4802??2016-06-23?17:37??銀行提交\yinhang.dsp
?????文件?????????537??2016-06-21?16:59??銀行提交\yinhang.dsw
?????文件??????238592??2016-06-28?09:07??銀行提交\yinhang.ncb
?????文件???????51712??2016-06-28?09:07??銀行提交\yinhang.opt
?????文件????????1647??2016-06-28?09:06??銀行提交\yinhang.plg
?????目錄???????????0??2016-06-28?09:07??銀行提交\Debug\
?????文件??????337292??2016-06-28?09:06??銀行提交\Debug\Bank.obj
?????文件???????????0??2016-06-28?09:06??銀行提交\Debug\Bank.sbr
?????文件??????201160??2016-06-26?17:50??銀行提交\Debug\main.obj
?????文件???????????0??2016-06-26?17:50??銀行提交\Debug\main.sbr
?????文件???????20273??2016-06-23?16:32??銀行提交\Debug\tinystr.obj
?????文件???????????0??2016-06-23?16:32??銀行提交\Debug\tinystr.sbr
?????文件??????197796??2016-06-23?16:32??銀行提交\Debug\tinyxm
?????文件???????????0??2016-06-23?16:32??銀行提交\Debug\tinyxm
?????文件????????5474??2016-06-23?16:32??銀行提交\Debug\tinyxm
?????文件???????????0??2016-06-23?16:32??銀行提交\Debug\tinyxm
?????文件??????103936??2016-06-23?16:32??銀行提交\Debug\tinyxm
?????文件???????????0??2016-06-23?16:32??銀行提交\Debug\tinyxm
............此處省略9個文件信息
- 上一篇:林業專家系統
- 下一篇:c++ 串口助手(云臺控制程序)
評論
共有 條評論