登录
首页 » Visual C++ » area

area

于 2014-02-07 发布 文件大小:10KB
0 117
下载积分: 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
  • Serial_Communication
    一个用Visual C++编写的串口通信的例程,实现了一些串口属性的设置。(A use of Visual C++, prepared by serial communication routines to achieve a number of serial port property settings.)
    2009-03-21 19:18:06下载
    积分:1
  • voice123.project
    this project simulate the voice communication between two subscriber stations in office scaled module and test the communications between them
    2013-04-24 21:42:10下载
    积分:1
  • C++读取txt文本中的矩阵数据 - CSDN博客
    vc++/vc程序,简单好学,方便初学者,程序完整,直接运行(Vc++/vc program, simple and easy to learn, convenient for beginners, complete program, direct operation)
    2018-04-29 20:46:34下载
    积分:1
  • Calendar(v1.01)
    WTL编写日历控件,继承EDIT控件自绘而且,可自行修改方便使用(WTL DRAW calendar)
    2016-03-03 11:50:12下载
    积分:1
  • dancixuexi
    Word learning Word learning Word learning Word learning Word learning (Word learning Word learning Word learning Word learning Word learning Word learning Word learning Word learning )
    2014-07-10 10:54:04下载
    积分:1
  • TXTReadWriteDlg
    实现txt文本的读写,实现平台VS2008,可以实现对txt文本的读写操作,支持unicode!(txt write and read MFC you can do it visual studio 2008)
    2015-08-25 08:07:43下载
    积分:1
  • Ogre_VC9_AppWizard_1.7.2
    Ogre_VC9_AppWizard_1.7.2.exe,vs与ogre集成环境插件(Ogre_VC9_AppWizard_1.7.2.exe, vs ogre integrated environment plug)
    2013-01-06 17:59:32下载
    积分:1
  • 83314539
    实现了二进制卷积码的viterbi硬判,软判,以及穿孔卷积码(The viterbi hard, soft and perforated convolutional codes of binary convolutional codes are implemented.)
    2019-04-02 06:16:02下载
    积分:1
  • GetWindowsPassWord
    该程序用于在用户登陆状态下获取用户的登陆密码。原理是windows 2003 将用户的密码存储在 lsass.exe 的指定偏移的内存中。通过对该进程内存的扫描即可获取系统密码。(the procedure for landing on a user's state of the user's password landing. The principle is windows 2003 to the password stored in the designated offset lsass.exe memory China. Through the process of memory can be obtained by scanning system password.)
    2006-10-26 10:46:03下载
    积分:1
  • 696518资源总数
  • 104269会员总数
  • 42今日下载