登录
首页 » Visual C++ » jicheng

jicheng

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

  • captureIconInfor
    VC++ 跨进程管理系统任务栏所有程序托盘图标,通过查找获得任务栏ToolbarWindow32控件的句柄,再通过SendMessage发送消息进一步获取图标详细信息等。(MANAGER ICON FOR ALL PROCESSES ,AND GET HANDLE BY ToolbarWindow32,THEN GET ICON INFOR)
    2016-12-31 14:52:39下载
    积分:1
  • Communication
    USB communication and used to access data from mass storage devices
    2012-10-31 19:32:24下载
    积分:1
  • zgy-server
    说明:  用VC6写的简单控制台服务器端程序,学习用。(with VC6 write a simple console server software, to study.)
    2006-04-12 14:39:50下载
    积分:1
  • clock
    说明:  .net工程,一个openvg的demo,想学openvg的同学很有帮助(an openvg demo based on .net)
    2009-08-25 10:20:53下载
    积分:1
  • NET-developmen
    .net开发程序,体检套餐窗口程序,只写了窗口,没有写源代码(NET development program, medical package window program, write only the window did not write the source code)
    2013-03-25 20:38:51下载
    积分:1
  • RollingWheel
    VC++应用实例,使用message 传递机制,以实现圆形滚动的动画效果,(VC++ application example of using message passing mechanism in order to achieve a circular scrolling animation effects,)
    2014-03-02 22:18:45下载
    积分:1
  • Beta
    VC开发的一款可以通过Access的增删改查进行存取记录的笔记本(VC Deve Note ,Could Sava your technology_note)
    2013-04-03 17:59:10下载
    积分:1
  • wan_nian_li
    图形界面的万年历源代码,适合初学者课程PJ使用(perpetual calendar)
    2015-12-02 11:39:00下载
    积分:1
  • DSP-external-interrupt-and-analog-IO
    DSP外部中断及模拟IO完整代码,对于初学者来说还不错,(程序尚没有测试过)(DSP external interrupt and analog IO complete code)
    2011-10-04 08:30:08下载
    积分:1
  • scull
    基于跟新后的linux内核的scull驱动代码及详解(Based on post with the new linux kernel driver code and Detailed scull)
    2015-03-24 21:15:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载