文件名称:de
介绍说明--下载内容均来自于网络,请自行研究使用
:定义一个简单的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