文件名称:2
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 589kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
(1)定义四个类:CPU、RAM、CDROM、COMPUTER
(2)具体要求
1,每个类定义构造函数和析构函数,如结果图输出
2,每个类分别定义run和stop接口函数
3,COMPUTER为组合类,包含CPU、RAM、CDROM的对象
4,主函数:定义一个COMPUTER对象,并调用run和stop
CPU和RAM的run和stop事件由COMPUTER调用
-(1) defines four categories: CPU, RAM, CDROM, COMPUTER (2) the specific requirements of 1, the definition of each class constructor and destructor, as the results of Figure 2, the output of each class are defined interface functions run and stop 3 , COMPUTER for the combination of classes, including CPU, RAM, CDROM of the object 4, the main function: to define a COMPUTER object and call run and stop CPU and RAM, run and stop the event called by the COMPUTER
(2)具体要求
1,每个类定义构造函数和析构函数,如结果图输出
2,每个类分别定义run和stop接口函数
3,COMPUTER为组合类,包含CPU、RAM、CDROM的对象
4,主函数:定义一个COMPUTER对象,并调用run和stop
CPU和RAM的run和stop事件由COMPUTER调用
-(1) defines four categories: CPU, RAM, CDROM, COMPUTER (2) the specific requirements of 1, the definition of each class constructor and destructor, as the results of Figure 2, the output of each class are defined interface functions run and stop 3 , COMPUTER for the combination of classes, including CPU, RAM, CDROM of the object 4, the main function: to define a COMPUTER object and call run and stop CPU and RAM, run and stop the event called by the COMPUTER
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2\2.cpp
.\2.dsp
.\2.dsw
.\2.ncb
.\2.opt
.\2.plg
.\Debug\2.exe
.\.....\2.ilk
.\.....\2.obj
.\.....\2.pch
.\.....\2.pdb
.\.....\vc60.idb
.\.....\vc60.pdb
.\Debug
2
.\2.dsp
.\2.dsw
.\2.ncb
.\2.opt
.\2.plg
.\Debug\2.exe
.\.....\2.ilk
.\.....\2.obj
.\.....\2.pch
.\.....\2.pdb
.\.....\vc60.idb
.\.....\vc60.pdb
.\Debug
2