登录
首页 » Visual C++ » area

area

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

  • jishi
    计时程序 控件丰富 操作简便 很实用 初学者可用的 好东西(Rich simple timing program control is very useful for beginners can be a good thing)
    2011-05-05 21:25:00下载
    积分:1
  • socket
    详细介绍一下VC下的socket编程,并提供一个服务器客户端具体的实例。希望对您有所帮助 (Detailed introduction of VC socket programming, and provide a server client a specific example. Hope will be helpful to you)
    2012-05-09 18:53:35下载
    积分:1
  • CcCharpSupermS
    用CSHARP实现超市的管理,包括进货,销货,比较适合初学学入门者,从大体上去掌握CSHARP用于WINForm的应用 (The CSHARP to achieve the management of the supermarket, including purchases, sales, and more suitable for beginners Introduction to general grasp CSHARP for WINForm application)
    2012-07-18 00:33:33下载
    积分:1
  • link_del_insert_shuzi
    link 的删除和添加代码,最基本的小程序,但是大内容(link deleting and insert)
    2013-05-28 22:04:24下载
    积分:1
  • 31_pdfsam_The-Cg-Tutorial_-Chapter-8
    CG Bump mapping tutorial.
    2012-10-13 17:54:40下载
    积分:1
  • 1
    说明:  研究生C++课上老师讲解的程序,从中能领会到书上学不到的东西(多态与虚函数)(small programs for C++ programming)
    2011-11-16 09:26:00下载
    积分: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
  • ss
    说明:  移动电话主要采用频率复用,但分配给移动电话的频段很少,远不能满足用户的需要。 因此就提出将地区划分成小区,称为蜂窝(Cell),每个蜂窝内使用一组频率,相隔一段距离后,相同的频率又可重复使用。 (The main use of mobile phone frequency reuse, but allocated to the small-band mobile phone, far from being able to meet the needs of users. Therefore proposed to be divided into residential areas, known as cellular (Cell), each use a set of cellular frequencies, separated by some distance, the same frequency can be reused.)
    2009-04-16 19:32:36下载
    积分:1
  • CheckManage
    考勤管理系统可以有效地管理企事业单位员工的出勤情况,规范人事制度管理,保证企事业单位的正常动作,是人力资产管理的重要组成部分。本系统的开发主要包括后台数据库的建立、维护以及前端应用程序的开发两个方面。本系统采用目前比较流行的ADO数据访问技术,并将每个数据库表的字段和操作封装到类中,使应用程序的各个窗体都能够共享对表的操作,无需重复编码,使程序更加易于维护,从而成功地将面向对象的程序设计思想应用到数据库应用程序设计中。这也是本系统的特色和优势。 第1步:还原数据库 按照前面的步骤,还原“考勤管理系统”的数据库为“CheckManage”。 第2步:打开项目并运行 ➊ 在Visual C++ 6.0中,打开“考勤管理系统”项目文件。 ➋ 编译、连接、运行,在“登录对话框”中输入用户名“Admin”,密码“111111”,单击【确定】按钮。(CheckManage System very good)
    2012-08-21 19:33:04下载
    积分:1
  • GSM
    利用通讯模块进行数据通信,就是将数据体作为短消息的内容,从发送方的通讯模块发送出去,通过短消息中心进行转发,接收方通讯模块收到此短消息后即存储在SIM卡上,模块外接的控制器(如单片机、计算机等)从模块中读取短消息后,根据需要将无用的信息去除,取出有效信息,然后将SIM卡中的短消息删除,这样就完成一次单向数据的传输。利用通讯模块的短消息方式实现数据的发送和接收具有通信成本低、系统容量大、抗干扰能力强等优点,而且短消息经过服务中心再到达目的地的特点使通讯模块无需24小时开机,降低了系统功耗,特别适合遥控、遥测、远程信息处理和通信等领域。(GSM)
    2009-04-13 10:28:49下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载