文件名称:2
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.16mb
- 下载次数:
- 0次
- 提 供 者:
- 闻*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
任意设计一个类(比如point类、RMB类、Student类等),要求
在类设计中对流操作符"<<"和">>"进行重载。在主程序中声明5个该
类的对象,然后将这5个对象分别以文本格式和二进制格式保存到当前目录的zrf.dat文件和zrf.bin中,之后再
以字符方式和二进制方式从文件中读取数据存储到另外5个临时对象中并输出。-Any design of a class (eg point type, RMB class, Student, etc.) require the design of convection in the class operator " " " " and " " " " to overload. In the main program contains a statement to five such objects, then these five objects were in text format and binary format to the current directory zrf.dat documents and zrf.bin in manner and after the characters from the file in binary mode read data is stored to another five temporary object and output.
在类设计中对流操作符"<<"和">>"进行重载。在主程序中声明5个该
类的对象,然后将这5个对象分别以文本格式和二进制格式保存到当前目录的zrf.dat文件和zrf.bin中,之后再
以字符方式和二进制方式从文件中读取数据存储到另外5个临时对象中并输出。-Any design of a class (eg point type, RMB class, Student, etc.) require the design of convection in the class operator " " " " and " " " " to overload. In the main program contains a statement to five such objects, then these five objects were in text format and binary format to the current directory zrf.dat documents and zrf.bin in manner and after the characters from the file in binary mode read data is stored to another five temporary object and output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2\2.dsp
.\2.dsw
.\2.ncb
.\2.opt
.\2.suo
.\class.cpp
.\class.dsp
.\class.dsw
.\class.ncb
.\class.opt
.\class.plg
.\Debug\class.exe
.\.....\class.ilk
.\.....\class.obj
.\.....\class.pch
.\.....\class.pdb
.\.....\vc60.idb
.\.....\vc60.pdb
.\zrf.bin
.\zrf.dat
.\Debug
2
.\2.dsw
.\2.ncb
.\2.opt
.\2.suo
.\class.cpp
.\class.dsp
.\class.dsw
.\class.ncb
.\class.opt
.\class.plg
.\Debug\class.exe
.\.....\class.ilk
.\.....\class.obj
.\.....\class.pch
.\.....\class.pdb
.\.....\vc60.idb
.\.....\vc60.pdb
.\zrf.bin
.\zrf.dat
.\Debug
2