登录
首页 » Visual C++ » area

area

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

  • xuanxing
    GPS选星算法,选择几何形状最好的卫星组合(GPS satellite selection algorithm to select the best geometry of the satellite portfolio)
    2021-04-19 17:18:51下载
    积分:1
  • migong
    这是C语言编写的迷宫程序,有详细的中文解析(This is the C language maze procedure, a detailed analysis of the Chinese)
    2008-01-20 22:28:35下载
    积分:1
  • 8-30
    说明:  C sharp程式. 可自動排列撲克牌順序,並比大小.(C sharp code. Can be automatically arranged in order of playing cards, and more than size.)
    2010-04-30 21:15:17下载
    积分:1
  • boll
    圆的绘制,在很多计算机课程中会用到元的绘制,特么是在计算就行雪中会有(Draw a circle, in many computer programs will be used to draw elements, especially in the calculation of what is on the line there will be snow)
    2013-12-07 19:35:44下载
    积分:1
  • CAN-USB
    CAN总线分析源代码 USB转CAN USBCAN 调试器 (CAN Bus Analyzer USB to CAN USBCAN source code debugger)
    2013-07-09 22:51:28下载
    积分:1
  • api_simulation
    一款利用vc调用windows API函数,模拟键盘输入的小程序。仅供参考(use vc calling Windows API functions, simulated keyboard input of small procedures. For reference)
    2006-11-07 23:15:33下载
    积分:1
  • 5820-driver
    ad5820芯片通过I2C控制VCM,驱动音圈电机运动(I2C for VCM)
    2021-01-16 23:08:50下载
    积分:1
  • 5-VBA-code
    VB是设计用于创建标准的应用程序,而VBA是使已有的应用程序(EXCEL等)自动化 VBA应用技巧代码 第5章(VB is designed to create a standard application, and VBA is to make existing applications (EXCEL, etc.) automation application skills VBA Code Chapter 5)
    2011-08-20 09:11:40下载
    积分:1
  • Advanced-Programming
    用vb语言进行一些高级编程,让我们见识到了vb语言的真正强大。(With vb language for some advanced programming, let us see the vb language is really powerful.)
    2016-11-27 12:09:25下载
    积分:1
  • RFID_UHF_VC
    RFID_VC++6.0源码_RFID读写 提供了RFID的开发源码,用VC编的,展示RFID卡如何加密,如何自毁。串口通讯支持RS-232(RS232),RS-485(RS485),波特率可选,RFID的天线可选,读卡频率可调。提供了控制RFID读卡功率的方法,功率从0至29可调,距离最大10米以上,该源码可用于交通、物流、运输、仓库管理、比条码技术强大。用于毕业论文答辩中,可以演示,程序看懂后,就对RFID整个工作原理较为了解。支持ISO18000和EPC_GEN2等类型的RFID卡。 VC++6.0的工作空间是“t1121.dsw”(RFID_VC++ 6.0 sources yard _ RFID read-write has provided the RFID exploitation source yard , used VC to weave, show how encrypted the RFID card , how to destructs self. String communication supports RS-232 (RS232) , RS-485 (RS485) , Porter lead may elect, the RFID air wire may elect , read card frequency adjustable. Method having provided the power controlling RFID reading a card, power is from 0 to 29 adjustable, )
    2010-06-25 23:39:46下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载