登录
首页 » Visual C++ » area

area

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

  • mail
    基于mfc的c++编程的通讯录管理系统,非常友善的使用的管理系统,方便用户使用和实现通讯录的管理(Mfc-based programming in c++ address book management system, very friendly to-use management system, user-friendly and achieve the management of contacts)
    2009-10-17 22:50:08下载
    积分:1
  • aclock_src
    说明:  一个日历程序用MFC写的。 一个日历程序用MFC写的。 一个日历程序用MFC写的。(A calendar program written using MFC. A calendar program written using MFC. A calendar program written using MFC.)
    2008-10-01 22:39:46下载
    积分:1
  • yanzhengma
    验证码其中的一个文件求大神告知,主要想下个源码,谢谢(The verification code in which a file seek God inform, mainly want the next source, thank you)
    2013-04-03 19:27:17下载
    积分:1
  • sedmanual
    sed为UNIX系统上提供将编译工作自动化的编译器。此为中文手册,对SED做了详细的叙述(sed for the UNIX systems to provide automation of the compilation of the compiler. This is a Chinese manual on a detailed description of SED)
    2010-10-14 16:37:10下载
    积分:1
  • Chatterbot12
    This is a copy of source code of a simple chatterbot written in cpp
    2014-08-15 20:14:43下载
    积分:1
  • UseAdo
    在Microsoft Visual C++6.0环境下,应用ADO,编写的连接access数据库的简单程序(MFC ADO access)
    2017-05-25 08:57:06下载
    积分:1
  • UDP_Lost_test2
    这是一个测试UDP数据包的丢包率的程序,包含程序源码,已经验证成功(This is a test UDP packet loss rate of the program, including program source code, has been successfully verified)
    2013-12-30 11:10:56下载
    积分:1
  • diskinfo
    Get Disk Free Space for Visual basic.
    2013-07-21 17:29:41下载
    积分:1
  • Vc6
    模拟银行卡交易流程的详细讲解,内涵丰富,采用VC++(Explain in detail the simulated bank card transaction process, rich content, using VC++)
    2013-12-26 20:09:23下载
    积分:1
  • exe_src
    说明:  很好的程序,编译通过后,可直接在debug下点exe使用(good procedures, compile, debug directly under the point exe use)
    2006-04-24 12:07:08下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载