登录
首页 » Visual C++ » area

area

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

  • 百灵鸟
    说明:  百灵鸟档案管理系统(单机版 语言种类:简体中文 系统平台:Win 98/ME/2000/XP 软件厂商:百灵鸟软件 百灵鸟档案管理系统 单机版 软件大小:6348KB 软件类别: 国产软件 / 办公软件 软件授权: 收费软件 软件语言:简体中文 应用平台: Win2003/XP/2000/9X 更新时间: 2008-04-09(Lark Archives Management System (Stand-alone Edition) Language Categories: Simplified Chinese System Platform: Win 98/ME/2000/XP Software vendor: Lark Software Lark Archives Management System Single Edition Software size: 6348KB Software Category: Domestic Software/Office Software Software Authorization: Charging Software Software Language: Simplified Chinese Application Platform: Win2003/XP/2000/9X Update time: 2008-04-09)
    2020-06-23 23:00:01下载
    积分:1
  • msdn风格界面用户界面
    说明:  一种类似 vc++6.0MSDN风格的界面,和数据库结合,可实现搜索、索引、目录等功能,很实用,(vc 6.0MSDN a similar style of interface, and databases, to search, index, table of contents and other functions, is very practical,)
    2005-10-24 14:49:49下载
    积分:1
  • ch3_3
    泡泡运动,通过载入泡泡图片和背景。运用动量守恒定律来实现泡泡的碰撞。可能缺少几个图片,大家自己补充一下就好(Bubble motion pictures and background by loading bubble. The use of the law of conservation of momentum to achieve bubble collisions. May be missing a few pictures, we like to add your own)
    2013-10-10 21:21:28下载
    积分:1
  • MRobot3Demo
    这是我们实验中用到的一个控制机械臂的实现程序,希望能有所帮助!(This is our experimental robotic arm used in the realization of a control program, hoping to help!)
    2020-11-20 18:59:36下载
    积分:1
  • shebeihuanchong
    假设系统中有两个分别名为P1、P2的进程及两台均可进行输入、输出操作的设备d1、d2。两个进程可以从两台设备中的任何一台输入数据,并可以向其中的任何一台设备输出数据。编写C程序,模拟操作系统中使用的设备缓冲区管理算法,完成上述进程的输入、输出操作及数据处理任务。(assumption that the system has two named P1, P2 and the process can be carried out two input, Output operation of equipment d1, d2. 2 process from two equipment of any one input data, and can assure them in any one piece of equipment output data. C. preparation procedures, the operating system simulation equipment used in the buffer management algorithms, completion of the admission process, operation and output data processing tasks.)
    2020-12-15 14:49:13下载
    积分:1
  • KCBJ
    说明:  库存仿真,对比各策略,选择优化,相互比较(Stock simulation, comparing the strategy, select the optimization, compared with each other)
    2010-04-01 13:46:08下载
    积分:1
  • AddFlow5_Patch
    AddFlowCrack have a good time
    2010-02-09 07:53:01下载
    积分:1
  • bpsknewnochannel
    实现物理层网络编码的仿真,此为无信道编码环境下实现的(network coding)
    2012-04-12 11:41:55下载
    积分:1
  • loadanimage
    说明:  该程序完成在基于对话框的静态控件中加载一幅图像,可以加载bitmap,icon或cursor(Completion of the program based on the static control in dialog to load an image, you can load the bitmap, icon or cursor)
    2009-08-17 11:50:13下载
    积分:1
  • SerialPort_vc
    一个关于串口通信编程的小程序,使用visual c++编写。(Serial communication programming on small procedures, the use of visual c++ Prepared.)
    2007-07-16 15:57:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载