登录
首页 » Visual C++ » area

area

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

  • 04_ScrollBarDemo
    基于MFC的,用C++语言编写的一个程序界面 使得界面有滚动条功能(Scroll bar interface function MFC-based, a program written C++ language interface)
    2012-09-14 20:55:31下载
    积分:1
  • VCD_management_system
    C++实习作业,VCD出租管理系统,有查询,借阅,计费,记日期等功能(system of renting and management of VCD)
    2015-11-21 10:33:09下载
    积分:1
  • Broadcast
    屏幕录制或广播,选择执行的区域或某个窗口或应用程序,使其凸显(Screen recording or broadcast, the area or a window or application execution, highlights)
    2015-11-02 21:24:26下载
    积分:1
  • 2324
    用VIsual C++编写的简单数据库,用来管理学生信息。(Simple database using the VIsual C++ written to manage student information.)
    2013-04-05 14:33:53下载
    积分:1
  • b03
    本软件为ZX831,版本为B03.适用以正先ZX831大方蓝。可用作升级软件,也可用作主程序,用烧录器写。解压密码为shijkll(The software for the ZX831, version B03. To apply a generous ZX831 was the first blue. Can be used to upgrade the software, but also can be used as the main program, with the burner to write. Extract password shijkll)
    2009-12-03 09:43:51下载
    积分:1
  • rules1
    关联规则程序2 This implementation generates association rules, based on the Apriori algorithm (cfr. Agrawal et al.,1995). It takes as input a file of frequent sets in the format such as generated by the previous implementations. (association rules 2 This implementation process generates as sociations rules, based on the Apriori algorithm (cfr. Agrawal et al. , 1995). It takes as input a file of frequent sets i n the format such as generated by the previous im plementations.)
    2007-06-03 08:32:31下载
    积分:1
  • KOCRDK
    说明:  一个opc客户端开发包,可以快速开发基于opc的客户端程序,此开发包需要授权(a client development kits, can be rapidly developed based on the client Oligomeric Proanthocyanidins procedures, this development kits need to empower)
    2006-02-21 11:22:00下载
    积分:1
  • receive
    DSP实现TL16C550及RS232的串口传输(接收端)(DSP realize TL16C550 and RS232 serial transmission (receiving end))
    2008-08-03 10:47:06下载
    积分:1
  • monihoutaianjian
    模拟后台案件,例子中只用了 一个记事本 ,(Simulation of background cases)
    2010-09-03 18:02:56下载
    积分:1
  • FileBillParsor
    说明:  在文件系统中,FileBillParsor利用重叠IO,分块、分行处理数据(in the file system, using overlapping FileBillParsor IO, block, the branch data processing)
    2006-05-11 13:52:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载