文件名称:2
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:589.21kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
(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/2.dsp
2/2.dsw
2/2.ncb
2/2.opt
2/2.plg
2/Debug/2.exe
2/Debug/2.ilk
2/Debug/2.obj
2/Debug/2.pch
2/Debug/2.pdb
2/Debug/vc60.idb
2/Debug/vc60.pdb
2/Debug
2
2/2.dsp
2/2.dsw
2/2.ncb
2/2.opt
2/2.plg
2/Debug/2.exe
2/Debug/2.ilk
2/Debug/2.obj
2/Debug/2.pch
2/Debug/2.pdb
2/Debug/vc60.idb
2/Debug/vc60.pdb
2/Debug
2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.