登录
首页 » Visual C++ » area

area

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

  • DUBAInterface
    实现金山毒霸的漂亮的界面,用了资源提取工具将相关bmp提取。、(Jinshan drug tyrants realize the beautiful interface, with the resource extraction tool to extract the relevant bmp. ,)
    2008-08-05 09:38:13下载
    积分:1
  • hive
    注册表隐藏就是将系统呈现给用户的注册表信息进行修改,使得用户或检测工具无法直观地发现事实上存在的注册表内容。(Hide the system registry is presented to the user' s registry information is modified so that the user or detection tool will not intuitive to find that in fact exist in the registry contents.)
    2009-10-21 08:52:52下载
    积分:1
  • ZXPortMap
    ZXPortMap 端口映射源代码 一个很好的端口映射工具(ZXPortMap port mapping source code for a good port mapping tool)
    2013-09-12 13:13:04下载
    积分:1
  • Chat
    网络通信客户端程序,利用vc++编程,简单方便,也实用(Network communication client program to use vc++ programming, is simple and convenient, but also practical)
    2009-04-04 11:34:27下载
    积分:1
  • shortest-path
    通信网络的架设问题 若要在n(≥10)个城市之间建设通信网络,只需要架设n-1条线路即可(With the Dijksra algorithm to network G from source points to the rest of the vertices of the shortest path)
    2014-01-11 23:32:27下载
    积分:1
  • Video_editing
    this directshow application for video editing. i wish it help you. (this directshow application for a video e diting. i wish it help you.)
    2006-12-12 10:43:14下载
    积分:1
  • porttalk+io
    驱动源码,windows2k/xp能够读写端口(driver source code, can read and write ports windows2k/xp)
    2007-04-12 16:40:48下载
    积分:1
  • TCPPORTSCAN
    TCP端口扫描,可以获得指定IP段内的主机名,mac地址,存活端口,并将这些信息保存在SQLITE数据库,下次可以直接读取数据库信息,移值性好!(CP port scan, you can get within the segment specified IP host name, mac address, survival ports, and the information stored in the SQLITE database, the next can be read directly, transfer value is good!)
    2013-09-03 19:37:00下载
    积分:1
  • CPPCAR
    本文件是在VISUAL C++环境下开发的汽车货运管理系统,感兴趣的可下载。(This document is in the VISUAL C++ development environment trucking management system, interest can be downloaded.)
    2015-03-12 22:27:23下载
    积分:1
  • linuxandc
    主要是学习linux操作系统的课件和一些c语言的源代码,这些都可以在linux和windows下使用;(Linux operating system is mainly learning courseware and some c language source code, which can be used in linux and windows )
    2010-11-17 16:56:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载