文件名称:Cpp5
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-07-15
- 文件大小:
- 1.07mb
- 下载次数:
- 0次
- 提 供 者:
- 紫***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(1)编写一个程序,创建5 个Loan 对象,将它们写入一个名为Exercise12_6.dat 的文 件中。
(2)假定已经创建了一个名为Exercise12_6.dat 的文件。
编写一个程序,从文件中读取 Loan 对象,并计算总贷款额。假定你不知道文件中保存了多少个 Loan 对象。使用eof() 来检测文件末尾。-(1) Write a program to create five Loan objects, they are written in a file named Exercise12_6.dat.
(2) assuming that you have created a file named Exercise12_6.dat s.
Write a program that reads the Loan object from a file, and calculate the total loan amount. Suppose you do not know how many Loan object file saved. Use eof () to detect the end of the file.
(2)假定已经创建了一个名为Exercise12_6.dat 的文件。
编写一个程序,从文件中读取 Loan 对象,并计算总贷款额。假定你不知道文件中保存了多少个 Loan 对象。使用eof() 来检测文件末尾。-(1) Write a program to create five Loan objects, they are written in a file named Exercise12_6.dat.
(2) assuming that you have created a file named Exercise12_6.dat s.
Write a program that reads the Loan object from a file, and calculate the total loan amount. Suppose you do not know how many Loan object file saved. Use eof () to detect the end of the file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C++实验5
........\Debug
........\.....\Loan.obj
........\.....\TestLoan.obj
........\.....\test5.exe
........\.....\test5.ilk
........\.....\test5.pch
........\.....\test5.pdb
........\.....\vc60.idb
........\.....\vc60.pdb
........\Exercise12_6.dat
........\Loan.cpp
........\Loan.h
........\TestLoan.cpp
........\test5.dsp
........\test5.dsw
........\test5.ncb
........\test5.opt
........\test5.plg