文件名称:Cpp5
-
所属分类:
- 标签属性:
- 上传时间: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/
C++实验5/Debug/
C++实验5/Debug/Loan.obj
C++实验5/Debug/TestLoan.obj
C++实验5/Debug/test5.exe
C++实验5/Debug/test5.ilk
C++实验5/Debug/test5.pch
C++实验5/Debug/test5.pdb
C++实验5/Debug/vc60.idb
C++实验5/Debug/vc60.pdb
C++实验5/Exercise12_6.dat
C++实验5/Loan.cpp
C++实验5/Loan.h
C++实验5/TestLoan.cpp
C++实验5/test5.dsp
C++实验5/test5.dsw
C++实验5/test5.ncb
C++实验5/test5.opt
C++实验5/test5.plg
C++实验5/Debug/
C++实验5/Debug/Loan.obj
C++实验5/Debug/TestLoan.obj
C++实验5/Debug/test5.exe
C++实验5/Debug/test5.ilk
C++实验5/Debug/test5.pch
C++实验5/Debug/test5.pdb
C++实验5/Debug/vc60.idb
C++实验5/Debug/vc60.pdb
C++实验5/Exercise12_6.dat
C++实验5/Loan.cpp
C++实验5/Loan.h
C++实验5/TestLoan.cpp
C++实验5/test5.dsp
C++实验5/test5.dsw
C++实验5/test5.ncb
C++实验5/test5.opt
C++实验5/test5.plg
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.