登录
首页 » Visual C++ » area

area

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

  • ProfessionalWCFProgramming
    Professional WCF Programming WCF高级编程书附盘(code of Professional WCF Programming)
    2009-05-26 23:00:03下载
    积分:1
  • SetWorldTransform()_demo
    How to use SetWorldTransform() to draw basic shapes rotated by any angle (How to use SetWorldTransform () to draw basic shapes rotated by any angle)
    2008-06-05 14:41:26下载
    积分:1
  • aodv-code
    aodv algorithm for implementing safe network
    2014-04-13 12:10:57下载
    积分:1
  • Pick.Business
    可以实现对数据层的操作,对数据业务逻辑进行处理(The operation of the data layer, business logic on the data processing)
    2012-06-04 20:28:34下载
    积分:1
  • pvb-gambardbxxxx
    save picture webcam to computer
    2014-02-05 11:23:41下载
    积分:1
  • ChildViewTx
    这是VC++其中的一个源代码,是普通的程序代码,主要用于教学范例(This is VC in which a source code, there are the ordinary program code, mainly for teaching examples)
    2016-02-16 02:21:28下载
    积分:1
  • hnbzcj9
    很好的源程序代码,具有很好的学习价值,可以下载使用(Good source code, has the very good learning value, can be used to download)
    2017-03-28 07:16:22下载
    积分:1
  • ljep
    简单读文件入数组程序,编译已通过,可直接运行。(Simply read the file into an array of programs, compile has been adopted, can be directly run.)
    2009-11-09 23:10:10下载
    积分: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
  • mfctab
    MFC Graphics Tablet Test Application
    2005-06-12 17:23:43下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载