登录
首页 » Visual C++ » area

area

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

  • efsl-0.3.6
    嵌入式文件系统,efsl is This file contains all the functions dealing with the FAT (in a Microsoft FAT filesystem)(embeded file system)
    2014-01-08 16:47:32下载
    积分:1
  • IEC104_Tool
    104规约调试工具,模拟104主控站,方便104规约的理解(104 Statute of the debugging tools, analog 104 master station to facilitate the understanding of the Statute of 104)
    2012-07-02 21:33:55下载
    积分:1
  • search_file
    说明:  实现目录中文件查找,遍历,基本实现dir功能(Document the achievement of the directory search, traversal, the basic function of the realization of dir)
    2009-08-17 21:48:22下载
    积分:1
  • duihuakuang_jiazai_RichEdit
    用 Visual C++.Net (VC.net) 编写的 如何显示载有RichEdit 控件的对话框 的演示程序,在Visual C++.Net 2003下运行正常。程序很简单,注释详细。为初学者学习交流使用。有需要的朋友可以下载看看!(Using Visual C . Net (VC.net) prepared in how to display the contained controls RichEdit dialog demo program in Visual C . Net 2003 to run normal. The procedure is simple and detailed notes. Learn to use for beginners. In need of a friend can download to see!)
    2009-01-20 19:21:13下载
    积分:1
  • CBC_AES_NoPadding_PKCS5Padding
    MFC工程,实现AES CBC 128bit NoPading和PKCS5Pading的功能(MFC AES CBC 128bit NoPading project implementation, and the function of PKCS5Pading)
    2017-11-03 11:18:17下载
    积分:1
  • remotecontrol
    远程控制,分为客户端与服务器端两个对话框。(Remote control, is divided into client and server side both dialog boxes.)
    2011-10-09 21:57:20下载
    积分:1
  • a
    说明:  静态文本控件典型事例电子计时器,主要根据位图来绘制数字(Typical examples of static text control electronic timer, mainly based on the bitmap to draw the figures)
    2010-12-17 18:18:23下载
    积分:1
  • chat_TCP
    基于VB6.0的Winsoket控件实现TCP服务器与客户端的聊天功能(based VB6.0 Winsoket control TCP client and server chat function)
    2007-06-16 14:03:01下载
    积分:1
  • ceramic-guitar-good-for-rocking-too
    VC++平台上自己写的小程序,大家可以看看。。。。。。。。。。(On VC++ platform to write a small program, we can look at. . . . . . . . . .)
    2015-04-14 17:16:43下载
    积分:1
  • rds-win32-4.0.522
    raima velocis 4.0.5
    2008-07-01 06:10:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载