文件名称:jicheng
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:17.13kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
定义点Point类作为基类,在此基础上派生出直线Line类和圆Circle类,在Circle类的基础上以不同的属性派生出圆柱Cylinder类和球Spheroid。并要求基类和各派生类具有以下特点:
(1) Line类含有计算直线长度和斜率的成员函数。
(2) Circle类含有计算圆面积的成员函数。
(3) Cylinder类含有计算圆柱表面积和体积的成员函数。
(4) Spheroid类含有计算球体的表面积和体积的成员函数。
-Point definition of point type as the base category, on the basis of a straight line derived Circle Circle Line category and class, in the Circle class based on different attributes derived Cylinder class and ball cylinder Spheroid. And requested the base class, and factions of Health category has the following characteristics: (1) Line category contains the length and slope of a straight-line calculation of member functions. (2) Circle type of circular area containing the members of the calculation function. (3) Cylinder category contains cylindrical surface area and volume calculation of the member functions. (4) Spheroid Spheroid category contains the calculation of surface area and volume of the member functions.
(1) Line类含有计算直线长度和斜率的成员函数。
(2) Circle类含有计算圆面积的成员函数。
(3) Cylinder类含有计算圆柱表面积和体积的成员函数。
(4) Spheroid类含有计算球体的表面积和体积的成员函数。
-Point definition of point type as the base category, on the basis of a straight line derived Circle Circle Line category and class, in the Circle class based on different attributes derived Cylinder class and ball cylinder Spheroid. And requested the base class, and factions of Health category has the following characteristics: (1) Line category contains the length and slope of a straight-line calculation of member functions. (2) Circle type of circular area containing the members of the calculation function. (3) Cylinder category contains cylindrical surface area and volume calculation of the member functions. (4) Spheroid Spheroid category contains the calculation of surface area and volume of the member functions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
类的继承/main.cpp
类的继承/main.dsp
类的继承/main.dsw
类的继承/main.ncb
类的继承/main.opt
类的继承/main.plg
类的继承/类的继承.dsp
类的继承/类的继承.dsw
类的继承/类的继承.ncb
类的继承/类的继承.opt
类的继承/类的继承.plg
类的继承/Debug
类的继承
类的继承/main.dsp
类的继承/main.dsw
类的继承/main.ncb
类的继承/main.opt
类的继承/main.plg
类的继承/类的继承.dsp
类的继承/类的继承.dsw
类的继承/类的继承.ncb
类的继承/类的继承.opt
类的继承/类的继承.plg
类的继承/Debug
类的继承
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.