登录
首页 » Visual C++ » area

area

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

  • FT232RL_DRIVER
    FT232RL 驱动程序,支持win7 64位使用。(Use FT232RL drivers, support Windows 7 64- bit.)
    2014-04-15 14:23:24下载
    积分:1
  • 我做的银行家算法
    说明:  过一个学习《操作系统》课程的学习,掌握了许多书本上的知识,但是对书上的概念并没有真正意义的了解。这次课程设计,就是通过模拟银行家算法来避免死锁的产生,加深对进程死锁概念的理解。 .课程设计的要求 通过对银行家算法的模拟,用户输入进程跟资源的数目,再给每个进程的每个资源申请资源,用以判断进程是否会出现死锁,若出现死锁,就释放整个内存的资源,总而减轻操作系统的负担。 课程设计的题目 本次操作系统课程设计的题目为《模拟银行家算法》。(than a learning "system" courses of study and master the many books on the knowledge, but the book on the concept and there is no real understanding. This curriculum design, simulation algorithm bankers to avoid deadlock the selection process to deepen understanding of the concept of deadlock. . Curriculum design requirements of bankers algorithm simulation, process user input with the number of resources, or give each process every resource for resources, the process used to determine whether there will be deadlock if there Deadlock on the release of the entire memory resources, and reduce the total burden of the operating system. The curriculum design of the operating system subject curriculum design on the topic of "simulation algorithm bankers.")
    2021-01-02 00:38:57下载
    积分:1
  • DlgIniTest
    由于现代软件中,很多时候需要保留一些配置信息,而ini文件就是其中的方法之一,该工程简单而详细体现了ini文件的读写调用方式(Because of modern software, often need to retain some configuration information, and the ini file is one of the ways that the project reflects the simple and detailed invocation ini file read and write)
    2013-11-03 15:52:15下载
    积分:1
  • zhixianyundong
    悬挂系统实现两电机控制实现悬挂物体的直线运动(Suspension system to achieve two motor control to achieve linear motion of objects hanging)
    2013-08-30 11:13:25下载
    积分:1
  • USB-interface-design
    USB接口设计,包含完整的理论研究和实现。(USB interface design, including complete theoretical research and implementation.)
    2011-10-19 09:56:05下载
    积分:1
  • Tyunnnanbaizzh
    这是关于云南白族村的vrml原码,如果看代码,,请用vrmlpad编辑器打开,如果预览请用bs. (This is on the Yunnan Bai village in the vrml the original code, if we look at the code, open with vrmlpad editor preview with bs.)
    2012-07-11 08:06:52下载
    积分:1
  • AHP_VB
    层次分析法(AHP)的VB实现(Analytic Hierarchy Process (AHP) in VB.)
    2021-04-29 12:28:43下载
    积分:1
  • bosong-distribution
    通信系统的建模与仿真 C语言产生泊松分布的随机数(BOSONG DISTEIBUTION RANDOM NUMBERS IN C)
    2014-10-28 11:00:13下载
    积分:1
  • EGM2008_Model_to_GPS_Elevation
    基于EGM2008模型的重力观测点GPS高程转换(GPS Height Transfrom Based on EGM2008 Model)
    2021-03-18 16:19:20下载
    积分:1
  • 11111
    Thanks for downloading my Logix RC flight simulator. This is a Micro Visual C++ project, so it would be easiest for you to open it with MSVC++ but if you dont have it, you can always use your own compiler, the source files are all there. My program uses some free library offered by Microsoft that make direct X much easier and faster to use. They are located in the 3dPlus directory, you will have to add them to the lib, and include directory on your compiler. The EXE is included, it searches for a bitmap to use as the ground, this is determined in the source. Im know the commenting on the source leaves some to be expected, but i‘ve run low on time. If you need help, source code to the librarys, or anything else email me at: logix@ionet.net I‘ll even send you a CD with everything on it if you mail me a few dollars. Please feel free to distribute this but leave it intact. 本站提供飞行模拟器免费下载,版权归其软件公司或原作者所有。如果你喜欢,请支持正版!
    2010-02-02 17:50:59下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载