登录
首页 » Visual C++ » jicheng

jicheng

于 2009-01-03 发布 文件大小:471KB
0 258
下载积分: 1 下载次数: 165

代码说明:

  定义点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.)

文件列表:

类的继承
........\Debug
........\main.cpp
........\main.dsp
........\main.dsw
........\main.ncb
........\main.opt
........\main.plg
........\类的继承.dsp
........\类的继承.dsw
........\类的继承.ncb
........\类的继承.opt
........\类的继承.plg

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • student0
    一个简易的班级成绩统计系统,可以在此基础上做一个完善的统计处理系统.(a simple statistics system, we can complete a integrated statistics processing system )
    2005-05-20 17:58:57下载
    积分:1
  • a-d转换
    说明:  80C51单片机程序adc转换啊啊啊啊啊啊啊啊啊啊啊啊啊啊(ADC Conversion of 80C51 Single Chip Microcomputer Program)
    2019-02-15 18:25:58下载
    积分:1
  • Text_CTreeBT
    一个MFC的属性控件类~~~封装了一些对树形控件的基本操作~~(MFC controls the properties of a type ~ ~ ~ Packaging, some of the basic operation of the control tree ~ ~)
    2009-05-11 09:27:17下载
    积分:1
  • biaodashiqiuzhi
    本程序的主要功能在对起泡排序,直接插入排序,简单选择排序,快速排序,希尔排序,堆排序六种内部排序算法的时间复杂度进行比较.主要工作是设法在已知算法中的适当位置插入对关键字的比较次数和移动次数的操作.记录比较次数,移动次数,实现对六种算法复杂度的比较(The primary function of this process in the bubble sort, insertion sort of direct, simple options to sort, quick sort, Hill sort HEAPSORT six internal sorting algorithm time complexity comparison. The main work is to try known algorithm the appropriate place to insert keywords compared to the number and mobile number of the operation. Comparison of the number of records, mobile number, the realization of the complexity of the six comparison algorithm)
    2009-05-06 23:01:53下载
    积分:1
  • testdlg
    检测NAT类型的客户端,程序中指定了服务器IP地址,用户可以自行修改(Detect NAT type of the client, the program specifies the server IP address, the user can modify)
    2013-08-22 10:16:36下载
    积分:1
  • getConnectionString
    ADO获取数据库连接字串的源代码。不少程序员为数据库的连接字串而发愁,好了,这下可以为你获取这个连接字串了。(ADO database connection string to obtain the source code. Many programmers for the database connection string and worry about, well, thought you这下可access to the connection string of the.)
    2008-04-08 09:40:43下载
    积分:1
  • toCstring
    将不同格式的数据转换成cstring格式,很方便,文件存在txt文件中(different data format conversion cstring format, is a convenient, the paper documents exist txt)
    2006-09-27 18:16:45下载
    积分:1
  • WindowsDeviceDriverCode
    说明:  windows设备驱动开发,使用最新的WDF模型(windows Driver Development using WDF)
    2010-04-07 10:29:29下载
    积分:1
  • DSPLIT.DSW2
    灰度变换,非0元素取1法,固定阀值法,双固定阀值法,反色变换处理,窗口变换处理(gray transform, 0-element method for a fixed threshold, two fixed threshold, anti-color transformation, transform window)
    2007-01-26 18:46:02下载
    积分:1
  • 基于HOMER仿真的太阳能混合发电系统设计
    太阳能混合发电的背景、目的和意义以及混合发电系统在国内外的研究与应用现状, 构建了混合发电系统,设计了系统的结构图,并运用HOMER软件进行仿真分析。针对该混合发电系统经济效益问题,结合HOMER软件仿真与调试的结果,综合分析了该发电系统的预计运行成本和经济效益,确定出最终的设计结果和结论。(Design of solar hybrid power system based on HOMER simulation)
    2018-09-21 13:56:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载