登录
首页 » Visual C++ » jicheng

jicheng

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

  • CALENDAR
    在程序中嵌入日历,是一本书中找到的很有学习的价值(Embed calendar program is useful to learn the value ,found in a book)
    2013-12-24 09:27:15下载
    积分:1
  • 4-13
    Visual C++音频视频处理技术及工程实践书的原代码,非常好呀(Visual C++ audio and video processing technology and engineering practice of the book source code, excellent)
    2009-11-26 13:56:36下载
    积分:1
  • Lesson19Code
    孙鑫VC++windows编程视频19课配套程序(Sun Xin VC++windows Programming Video Lesson 19 supporting program)
    2012-12-10 09:51:28下载
    积分:1
  • jq
    说明:  大家都玩过军旗吧.这个程序就是根据军旗游戏写出的.功能齐全,是学习此类游戏的好例子(We all played right flag. This procedure is written under the flag game. Functional study of such games are a good example of)
    2009-02-13 16:58:23下载
    积分:1
  • capturingPacketNoCallBlock
    使用winpcap非阻塞式抓取包(需要winpcap 库)(winpcap use nonblocking packet-capture (need winpcap Treasurer))
    2006-07-21 09:49:46下载
    积分:1
  • Emulator
    驱动层抓取网卡数据代码,并可以修改数据包内容(Crawl layer data-driven card code, and can modify the contents of data packets)
    2009-04-01 00:06:26下载
    积分:1
  • LodTerrain
    实现lod和水面叠加的功能,并可以读入txt各式的水位文件(Lod achieve superposition and surface features, and can read a variety of water into the txt file)
    2009-02-26 21:18:05下载
    积分:1
  • 485373
    将BSTR类型转换成CString类型,VC++精选编程学习源码,很好的参考资料。(The BSTR CString type, VC++ select learning programming source code, a good reference.)
    2013-11-24 23:29:01下载
    积分:1
  • ffmpegmfc
    自己做的FFMPEG移植到VC下的开源工程:ffmpeg for MFC。本工程将ffmpeg工程中的ffmpeg转码器(ffmpeg.c)移植到了VC环境下。并且使用MFC做了一套简单的界面。它可以完成一个视频转码的基本功能:封装格式以及编码格式的转换。 详细参见: http://blog.csdn.net/leixiaohua1020/article/details/28744935(This software transplant ffmpeg to Microsoft VC++ environment. And use MFC to build a simple Graphical User Interface. )
    2014-08-16 14:39:40下载
    积分:1
  • Asp.netAtlas
    一个Atlas+ASP.NET2.0无刷新的TAB源代码,效果不错啊(an Atlas ASP.NET2.0 REFRESHING TAB source code, ah good results)
    2007-06-26 09:39:42下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载