文件名称:de
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1kb
-
已下载:2次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
:定义一个简单的Computer类,有私有数据成员芯片(cpu)、内存(ram)、光驱(cdrom)等等, 有两个公有的成员函数run、stop。其中成员cpu为CPU类的一个对象,ram为RAM类的一个对象, cdrom为CDROM类的一个对象,定义并实现Computer类.请添加每个类的带参数的构造函数以及拷贝构造函数,析构函数-: Computer class defines a simple, there are private data members of the chip (cpu), memory (ram), optical drive (cdrom), and so on, there are two public member functions run, stop. Which members of the cpu is an object of class CPU, ram an object of class for the RAM, cdrom CDROM class as an object, define and implement Computer class, please add each class constructor with parameters and copy constructor, destructor function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
de.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.