登录
首页 » Visual C++ » area

area

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

  • GifRichTextBox
    可以动态显示Gif的vb2008的RichTextBox,不带第三方控件的自定义控件 ,可以自由扩充 完全类似于QQ的动态表情显示哦 (Can dynamically display the Gif vb2008 RichTextBox, a custom control without third party control ,可以自由扩充 , free to expand 完全类似于QQ的动态表情显示哦 Dynamic expression is completely similar to the QQ display. )
    2014-06-24 14:15:56下载
    积分:1
  • csexamsys
    SOCKET网络编程实例,讲解细致,适合C/C++开发人员学习(SOCKET network programming, detailed explanations, suitable for C/C++ developers to learn)
    2011-08-01 22:59:36下载
    积分:1
  • Human_Resources_Management_System
    humar resourse management
    2009-04-19 17:15:18下载
    积分:1
  • ava-kuangjia
    ava 框架,以前找的,不知道现在能用不,需要的自己下载(ava kuangjia )
    2013-12-21 21:33:50下载
    积分:1
  • NEW_MAIN_CTRL
    说明:  对一些进程的简单控制,使用vs工具开发的winform程序,可供交流学习(It s a simple controller.)
    2011-04-07 16:04:00下载
    积分:1
  • SSMV5XXX
    WINDOWS下的基于CPCI的MVB 网卡驱动(CPCI mvb netcard driver for windows.)
    2016-06-17 23:04:18下载
    积分:1
  • Coord3.0
    坐标变换软件,能报不同坐标系通过该软件变换成统一坐标系(Coordinate transformation software, can offer different coordinate system by the software into a unified coordinate system transformation)
    2010-10-28 17:58:22下载
    积分:1
  • hex2dat
    在DSP自起动时,用来将生成的.hex文件转换成.dat文件,只有这样才能正确烧写到flash中(The DSP from the start, is used to generate the hex file convert dat file, the only way to properly programmed into flash)
    2013-05-10 19:53:42下载
    积分:1
  • Chat
    实现点对点发送文本聊天,P2P基于套接字发送和接收文本(Realize the point-to-point send text chat, P2P based on SOCKET to send and receive text)
    2013-05-31 08:30:11下载
    积分:1
  • Grey-Modeling_V3.0
    非常实用,内有注册码,包含多个模型,分析数据非常准确(Very practical, there are registration code, contain multiple models, analyze the data very accurate)
    2020-07-03 21:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载