登录
首页 » Visual C++ » area

area

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

  • KRFAJA
    一个朋友做的工具软件,为了下载一个有用的源码,不得不把他出卖了,()
    2018-02-14 15:46:13下载
    积分:1
  • 3srm_hall
    开关磁阻电机霍尔控制程序 给予摩托罗拉芯片(Hall switch reluctance motor control program Give MOTOROLA chip)
    2015-04-02 13:36:19下载
    积分:1
  • VNC_clientand_server
    vnc 源码, 非常不错的远程控制软件.(vnc remote control pc)
    2020-12-04 17:09:25下载
    积分:1
  • SendFastMail
    一款非常不错的邮件群发工具。非常适合新手学习关于邮件的编程。(A very good mass-mailing tool. Very suitable for the novice to learn about the programming of the message.)
    2012-06-07 23:05:38下载
    积分:1
  • Lesson20Code
    孙鑫VC++windows编程视频20课配套程序(Sun Xin VC++windows programming video supporting program of 20 lessons)
    2012-12-10 09:52:01下载
    积分:1
  • lab23-SCIC
    给予TMS320F28335的串口SCIC所编写的串口测试程序,可以实现简单的串口算法(SCIC give TMS320F28335 serial port test program written for simple serial algorithm )
    2011-12-15 14:11:07下载
    积分:1
  • Lesson3Code
    孙鑫老师的教材的源代码,特别好的资料,大家可以下来看看。(Sun Xin teacher materials, particularly good introductory information, the university down to see. )
    2011-12-15 16:48:30下载
    积分:1
  • 20090723ms08067
    MS08067 exp 源代码 可用于研究并修改shellcode实现自己想要的功能(MS08067 exp source)
    2010-05-20 22:50:31下载
    积分:1
  • ShadeBtn_Jan2010_demo
    当时做一个项目时找来的,对其进行了一些改造,用于花样按钮(At that time got from doing a project and to carry out a number of transformation, for the pattern button)
    2010-02-07 14:31:10下载
    积分:1
  • Ahost_computen
    一个与仪表通讯的上位机程序源码,采采用RS232通讯,协议为MODBUS (A host computer program source code with the instrument of communication, mining RS232 communication protocol MODBUS)
    2012-08-07 01:46:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载