登录
首页 » Visual C++ » area

area

于 2014-02-07 发布 文件大小:10KB
0 181
下载积分: 1 下载次数: 4

代码说明:

  定义一个基类MyGraph,要求有一个纯虚函数double Area()=0。从基类派生一个圆类Circle和矩形类Rectangle,再由Rectangle类派生出Square类,分别给出Area()实现。 重载“>>”,实现对图形信息的输入。在主函数中计算三种形状的面积,并显示输出。 (Define a base class MyGraph, requires a pure virtual function double Area () = 0. Derive a circle and a rectangle class Rectangle Circle class from the base class, and then by Square Rectangle class derived class, are given Area () implementation. Reload " > > " to achieve the input of graphical information. Calculate the shape of the three main functions in the area, and display output.)

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

发表评论

0 个回复

  • 边沿检测与提取轮廓跟踪的图象算法
    边沿检测与提取轮廓跟踪,来自于源码中国 www.Cn700.com(edge detection and extraction of contour tracking, source from China www.Cn700.com)
    2005-05-30 08:07:38下载
    积分:1
  • W5100_AN_SPI
    W5100 spi connect describe
    2013-01-31 10:59:40下载
    积分:1
  • SCOMMV23
    一个功能比较全面的串口调试工具。你值得拥有。(A more comprehensive functional serial debugging tools. You deserve. )
    2013-07-19 16:10:07下载
    积分:1
  • 5477375
    带背景工具栏的文本编辑器,VC++经典编程源码,很好的参考资料。(With the background of the toolbar text editor, VC++ classic programming source code, a good reference.)
    2013-11-14 18:51:07下载
    积分:1
  • Regedit
    系统注册表信息(registry information system)
    2004-08-02 11:00:21下载
    积分:1
  • ss
    说明:  移动电话主要采用频率复用,但分配给移动电话的频段很少,远不能满足用户的需要。 因此就提出将地区划分成小区,称为蜂窝(Cell),每个蜂窝内使用一组频率,相隔一段距离后,相同的频率又可重复使用。 (The main use of mobile phone frequency reuse, but allocated to the small-band mobile phone, far from being able to meet the needs of users. Therefore proposed to be divided into residential areas, known as cellular (Cell), each use a set of cellular frequencies, separated by some distance, the same frequency can be reused.)
    2009-04-16 19:32:36下载
    积分:1
  • XproerV3.0.107_51aspx
    XproerBBS开源项目是新手学习不可多得的资料,在项目中使用了许多目前比较流行的技术。 (1)如何使用ADO.NET, (Green hand XproerBBS open-source projects are hard to come by studying the information used in the project is currently much more popular technology. (1) how to use ADO.NET,)
    2009-03-26 09:56:24下载
    积分:1
  • dianhuaben
    这是一个电话本的程序,可进行电话查询 可以参考一下(A phone book program)
    2012-12-28 17:32:59下载
    积分:1
  • E1101
    使用MFC DAO访问数据库,并实现了收支数据的条形图绘制。(Use MFC DAO database access, and to achieve a balance of payments data to draw a bar chart.)
    2014-06-25 11:12:11下载
    积分:1
  • DTMF2
    DTMF检测程序。定点计算,可移植到DSP上。实现按键音软解。(DTMF detection program. Sentinel, can be transferred to the DSP. Key tone soft solution.)
    2012-10-28 16:29:50下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载