登录
首页 » Visual C++ » area

area

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

  • 01liaotianshi
    第1章实例01-简单网络聊天室.zip(Chapter 1 Examples 01- Simple network chat rooms. Zip)
    2013-05-31 09:23:05下载
    积分:1
  • 683634
    会发声的按钮,VC++经典编程源码,很好的参考资料。(Will sound button, VC++ classic programming source code, a good reference.)
    2013-11-14 10:22:27下载
    积分:1
  • 钻石矿工
    算法设计中的钻石矿工问题在一座金字塔每块石头上都镶有一块钻石从金字塔的顶端向下收集钻石尽可能收集价值高的钻石,每层每次只能从一块砖斜向左下或斜向右下走到另一块砖上。设计算法求出获取的钻石最大价值及路径。(动态规划)(The problem of diamond miner in algorithm design is set up on every stone in Pyramid. A diamond is collected from the top of Pyramid. Diamond is collected as high as possible. Every layer can only lean from one brick to the left or to the right to go to the next brick at a time. The design algorithm is used to find the maximum value and path of the obtained diamond. (dynamic programming))
    2020-10-21 08:37:24下载
    积分:1
  • Ex03_ZQ28335_BUZZ
    DSP28335控制蜂鸣器 声音乐谱程序设计(DSP28335 control buzzer sound music programming)
    2020-07-16 20:28:49下载
    积分:1
  • SRTest
    语音识别,通过说话转化为语音。适合开发语音软件(good it‘s so worth that you must have a look)
    2009-09-04 10:47:25下载
    积分:1
  • 12864TUPIAN
    12864的显示图片和任意文字的函数,能够很好的让初学者入门(12864 pictures and any text display function, can be a good start for beginners)
    2013-09-03 15:44:42下载
    积分:1
  • vc++bp
    神经网络的BP算法,可以帮助识别汉字等其他文字(BP neural network algorithm, can help identify the characters and other text)
    2008-12-09 19:03:15下载
    积分:1
  • face-detection
    Thermal Infrared Face Recognition – a Biometric Identification Technique for Robust Security System
    2013-10-14 21:09:15下载
    积分:1
  • LCD_1602
    基于MSP430的LCD1602驱动程序,里面有写好了的h文件和c文件,添加到工程即可运用。(Based on LCD1602 MSP430 driver, there are written the h files and c file, adding to the engineering can be used.)
    2012-08-13 19:00:56下载
    积分:1
  • 3GParamTest
    3G参数测试程序,主要测试3G的主要参数(3G parametric test procedures commonly used parameters, the main test of 3G)
    2014-03-27 20:39:56下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载