登录
首页 » Visual C++ » area

area

于 2014-02-07 发布 文件大小:10KB
0 182
下载积分: 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 个回复

  • QT_axis
    使用编写程序,实现一个坐标轴功能,进行数据分析与运算(Use programming to implement a function of coordinate axes, data analysis and calculation)
    2017-03-30 10:46:17下载
    积分:1
  • crc
    CRC的c#代码 有需要做CRC认证的可以看看 可以根据代码增加程序CRC校验功能(C# code with the CRC CRC certification needs to be done according to code can add the program to see the CRC function)
    2011-07-12 21:45:12下载
    积分:1
  • klm_my
    一个win32程序,实现了标量kalman滤波的功能,本程序设信号为正弦波.(A win32 program to achieve the scalar kalman filtering function, the procedures established for the sine wave signal.)
    2007-11-12 20:45:41下载
    积分:1
  • 打字训练
    采用VB6.0编写的小软件,可以实现打字检查正确率,用来学习文本操作。(The small software written by VB6.0 can achieve the correct rate of typing checking, and is used to learn text operation.)
    2018-05-22 17:13:15下载
    积分:1
  • DlgIniTest
    由于现代软件中,很多时候需要保留一些配置信息,而ini文件就是其中的方法之一,该工程简单而详细体现了ini文件的读写调用方式(Because of modern software, often need to retain some configuration information, and the ini file is one of the ways that the project reflects the simple and detailed invocation ini file read and write)
    2013-11-03 15:52:15下载
    积分:1
  • D2008
    matlab功能很强大,里面包含了很多程序,可以更好的理解和求解(matlab function is very powerful, which contains a lot of procedures, you can better understand and solve the)
    2009-09-13 13:19:53下载
    积分:1
  • 6416198
    Similar to VB property sheet controls(Similar to the VB property sheet controls)
    2017-07-19 01:30:36下载
    积分:1
  • lcd-display-test
    lcd test program which demonstrates the use of the lcd 显示驱动 测试(lcd test program which demonstrates the use of the lcd display driver test)
    2013-08-26 19:36:47下载
    积分:1
  • SDK-APIs
    OK卡最新开发包,6.51. 包含OKDemo演示代码,及编程手册说明。(OKCard 6.51 SDK, including programming manual.)
    2012-02-15 09:42:43下载
    积分:1
  • DataBinding
    DATABINDING 的实例,可以作为参考来做自己的实例 (Examples DATABINDING, you can do your own examples as a reference)
    2013-11-25 22:23:15下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载