首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 任何设计类(如点式,人民币类、学生等)的设计要求…

任何设计类(如点式,人民币类、学生等)的设计要求…

  • 资源大小:1.16 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Windows开发

资 源 简 介

任意设计一个类(比如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.

文 件 列 表

2
Debug
2.dsp
2.dsw
2.ncb
2.opt
2.suo
class.cpp
class.dsp
class.dsw
class.ncb
class.opt
class.plg
zrf.bin
zrf.dat
VIP VIP
0.266557s