登录
首页 » Visual C++ » jicheng

jicheng

于 2009-01-03 发布 文件大小:471KB
0 199
下载积分: 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 个回复

  • Unreal-Streaming-Technologies-SDK-v-5.5
    C/C++ Unreal Streaming Technologies SDK v 5.5
    2013-01-14 09:57:05下载
    积分:1
  • MachRemote
    MACH3软件二次开发的一个实例程序,希望对喜欢MACH3二次开发的朋友有帮助。(MACH3 software secondary development of an example program, we want to enjoy MACH3 secondary development to help a friend.)
    2021-01-15 15:28:46下载
    积分:1
  • Yakunchikov
    Navier-Stokes Equation in C++
    2010-11-18 18:27:46下载
    积分:1
  • NotifyIcon
    非常实用的一个功能,MFC实现系统动态托盘图标(A very useful feature, MFC achieve dynamic tray icon)
    2013-11-25 17:03:33下载
    积分:1
  • USB-ch375-chip-sample-program
    一个基于USB CH375芯片的样例程序(A chip-based USB CH375 sample program)
    2011-08-12 13:53:19下载
    积分:1
  • NS
    说明:  基于元胞自动机的交通流模型 ns模型 C++(ns model, C++)
    2014-02-07 14:57:32下载
    积分:1
  • ILOVEYOU
    随意写的小程序,可在屏幕上显示星号表示的I LOVE YOU 有点小瑕疵 请多谅解啊 呵呵(Random write small programs can be displayed on the screen asterisk indicates the I LOVE YOU have a small flaw like him to understand ah Hehe)
    2009-10-25 18:55:16下载
    积分:1
  • 9774330
    构造函数的重载,以后我上传一系列这种类型的源程序供大家学习之用,()
    2018-05-22 20:53:04下载
    积分:1
  • grid wnd
    一个用VC++6.0编写的表格控件,类似于Excell的表格控件。(a VC 6.0 forms prepared by the control, similar to the Excel tables controls.)
    2005-04-09 18:51:45下载
    积分:1
  • VC-OPC-client
    说明:  基于VC的OPC客户端软件研究与实现.......(The OPC-based VC research and implementation of client software ....... )
    2011-04-16 11:52:41下载
    积分:1
  • 696518资源总数
  • 105547会员总数
  • 4今日下载