登录
首页 » Visual C++ » jicheng

jicheng

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

  • ad hoc网络mac层协议修改和仿真源
    说明:  ad hoc MAC协议,修改及仿真后的代码,源程序,实现AD HOC网络通信(AD hoc MAC protocol, modified and simulated code, source program, AD hoc network communication)
    2020-04-09 10:42:34下载
    积分:1
  • shell_9
    本程序使用CJ60Lib 库,用于实现Outlook 98的用户界面风格。(This procedure used CJ60Lib library, for the realization of Outlook 98 user interface style.)
    2008-04-22 11:37:02下载
    积分:1
  • HospitalManagementSystem
    说明:  医院管理系统,是课程设计的一个小系统,大家看看(Hospital Management System, is a small system, curriculum design, we take a look at)
    2010-03-19 20:06:47下载
    积分:1
  • SamplePreview
    机器视觉相机中驱动使用例子,在机器视应用中非常有用,适合学习,希望对大家有帮助。(Machine vision camera driver uses the example, depending on the machine is very useful in applications for learn, we want to help.)
    2016-10-10 22:25:25下载
    积分:1
  • passing-l-array-to-a-function
    如何将多维数组传递给一个函数,附实例说明,得出结果(passing a two-dimensioanl array to a function)
    2013-03-01 00:48:35下载
    积分:1
  • main
    double linked list.vcproj
    2009-12-17 06:45:43下载
    积分:1
  • OAsystem
    c++与SQL的结合,办公室管理系统,需要配置数据源(c++ and SQL combination of office management systems, need to configure the data source)
    2009-07-07 17:18:49下载
    积分:1
  • WINSOCK
    利用WINSOCK在几台计算机之间互相传输屏幕图象 (WINSOCK use in several computer screen image transmission between)
    2008-04-15 16:20:24下载
    积分:1
  • splitter
    基于单文档,分割windows窗口,设置分割的形式(Based on a single document, split windows windows)
    2013-10-14 09:38:29下载
    积分:1
  • spritegame
    这是一个运用SPRITE的做成的超级马莉的游戏,游戏当中很好的运用的层的概念.(SPRITE the use made of super-MA games, Among good game on the use of the concept of layers.)
    2006-06-10 10:43:36下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载