资源简介
用c++完成的简单的银行借贷管理系统
简单,对c++的学习应该会用帮助

代码片段和文件信息
#include “Asset.h“
void Asset::deleteAsset ()
//
// deletes an Asset
//
{
string input; // buffer for line of characters
bool done = false; // tells when user is done entering information
bool found = false; // tells when an investment has been found
char choice; // for storing user‘s response
while (!found && !done)
{
cout << “Please enter the number of the asset to be deleted (12 digits): “;
cin >> input;
found = find (input);
if (!found)
{
cout << “Asset “ << input << “ was not found.\n“;
cout << “Would you like to enter another number (y/n)? “;
cin >> choice;
if (choice == ‘n‘)
done = true;
}
}
if (!found)
return;
performDeletion ();
cout << “\nThe record has been deleted.“ << endl << endl;
cout << “Press to return to previous menu...“;
UserInterface::pressEnter();
} // deleteAsset ()
//----------------------------------------------------------------------------------------------------------------------------------------------------
void Asset::addAsset ()
//
// adds a new investment/mortgage
//
{
obtainNewData ();
save ();
cout << “\nThe following record was inserted:“ << endl << endl;
print ();
cout << endl << endl << “Press to return to previous menu...“;
UserInterface::pressEnter();
} // addAsset ()
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3099 2005-09-12 01:51 Mortgage.h
文件 227 2005-09-12 00:13 MortgageReport.h
文件 966 2005-09-11 14:39 OperatingExpenses.h
文件 372 2005-09-10 22:15 stdafx.h
文件 633 2005-09-11 14:24 UserInterface.h
文件 1507 2005-09-19 16:38 Asset.cpp
文件 4724 2005-09-19 16:43 AssetManager.cpp
文件 428 2005-09-19 16:26 EstimatedFundsReport.cpp
文件 989 2005-09-12 02:00 EstimateFundsForWeek.cpp
文件 8167 2005-09-19 17:27 Investment.cpp
文件 1422 2005-09-19 16:32 InvestmentReport.cpp
文件 12235 2005-09-19 17:27 Mortgage.cpp
文件 1412 2005-09-19 16:58 MortgageReport.cpp
文件 374 2005-09-11 14:16 MSG.cpp
文件 2651 2005-09-11 14:36 OperatingExpenses.cpp
文件 290 2005-08-15 23:06 stdafx.cpp
文件 7034 2005-09-12 01:58 UserInterface.cpp
文件 789 2005-09-11 23:30 Asset.h
文件 299 2005-09-12 00:14 AssetManager.h
文件 295 2005-09-11 14:41 EstimatedFundsReport.h
文件 177 2005-09-11 14:41 EstimateFundsForWeek.h
文件 1875 2005-09-11 23:30 Investment.h
文件 235 2005-09-11 14:39 InvestmentReport.h
- 上一篇:mingw to_string()头文件
- 下一篇:用C++模拟直线插补图形
相关资源
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
- FTP客户端源码(c++)
- c++ 画图(14Qt-XPS)
- c++多边形交并差运算
- VC++基于OpenGL模拟的一个3维空间模型
评论
共有 条评论