登录
首页 » Visual C++ » area

area

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

  • JPEGSHOWER
    实现基于visual C++平台下的,JPEG图片数据的压缩与解压缩。(JPEG image data compression and decompression.)
    2018-01-14 11:09:23下载
    积分:1
  • CreateODBC DSN
    说明:  动态创建access或者oracle的ODBC数据源(create dynamic access to the oracle or ODBC data sources)
    2005-09-05 17:08:24下载
    积分:1
  • code-1
    经典编程书目,有很多经典问题和算法思想,值得IT人士学习。(a book worth people who study IT reading)
    2012-02-24 17:35:00下载
    积分:1
  • HCIR1_0A
    OHCI 规范,英文资料,嵌入式USB开发必备(Development of essential information in English, embedded USB OHCI specification)
    2012-08-13 15:53:29下载
    积分:1
  • CODE_UPLOAD15638312001
    About carlos [Add as Friend] [Send Message] [Home] [Chinese Version]
    2015-06-10 03:01:14下载
    积分:1
  • QosSvr
    简易TCP通讯服务器端,QosClt为客户端。多个客户端间的通讯需要基于服务器,即通过服务器转发。(Simple TCP communication server, QosClt for the client. Communication between multiple clients need a server-based, that is transmitted through the server.)
    2013-09-09 13:50:32下载
    积分:1
  • D3DLOD
    D3D适合初学者学习LOD,代码是可以运行的。。。。。。(D3D for beginners learn LOD, code is can run )
    2012-01-11 23:39:43下载
    积分:1
  • WifiControl
    用来控制网卡的源码,可以列出机器中所有的网卡,并可实现禁用和启用网卡(card used to control the source, a list of all the machines card and can achieve banned and the opening of NIC)
    2020-07-29 16:48:38下载
    积分:1
  • VideoEXE
    一个DirectShow的例子。通过回调函数来获取图像信息。(A DirectShow example. Through the callback function to obtain the image information.)
    2008-06-03 17:38:02下载
    积分:1
  • CnComm
    串口调试精灵源代码,试过了,好用,自己可以在上面少量修改增加自己需要的功能。(Serial debug source code wizard, tried, and easy to use, they can increase their own minor modifications in the above functionality required.)
    2011-11-04 18:31:07下载
    积分:1
  • 696518资源总数
  • 104569会员总数
  • 24今日下载