登录
首页 » Visual C++ » area

area

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

  • Labwindows CVI 中不错的串口,串口调试CVI_rs232
    Labwindows CVI 中不错的串口编程,串口调试(Good serial programming Labwindows CVI, serial debugging )
    2020-07-07 23:18:57下载
    积分:1
  • 20073211243559015
    tsai C++实现,tsai C++实现 tsai C++实现 (Tiberius C realized, Tiberius achieve Tiberius C C C achieve Tiberius achieve realization Tiberius C)
    2007-05-26 22:48:30下载
    积分:1
  • DXWTWJ
    VB读写位图文件的源代码。可以对BMP文件修改,利用BMP文件加密、解密。(VB bitmap file read and write source code. BMP files can be modified using the BMP file encryption and decryption.)
    2014-02-02 19:05:05下载
    积分:1
  • 1
    说明:  界面化的简单文件操作 创建读写修改权限 可通过界面交互操作(simple file operations with interface )
    2015-06-09 18:17:34下载
    积分:1
  • CDMA
    中国电信CDMA终端需求规范 数据终端AT命令接口分册 (China Telecom CDMA terminal needs AT command interface specification data terminal branch)
    2011-10-10 11:37:52下载
    积分:1
  • NETSeeSystem
    本系统属于小型的局域网监控系统,可以对某一台计算机进行屏幕监控,屏幕信息需要时时显示,网络延时不能大于1秒,服务器端可以随时运行,只要客户端运行,就能够显示屏幕信息。(This system belongs to a small local area network monitoring system that can carry out the screen of a computer monitor, the screen displays information needs from time to time, the network delay can not be greater than 1 second, the server-side ready to run, as long as the client is running, you can display on-screen information .)
    2010-01-24 15:54:57下载
    积分:1
  • 4-13
    Visual C++音频视频处理技术及工程实践书的原代码,非常好呀(Visual C++ audio and video processing technology and engineering practice of the book source code, excellent)
    2009-11-26 13:56:36下载
    积分:1
  • cbll538
    本程序实现了用位图作为全平的主窗口,是全平显示的又一种实现方法,(This program realizes using bitmap as the main window of full flat, which is another realization method of full flat display.)
    2018-10-27 05:40:09下载
    积分:1
  • USBDRVDEVSAMPLES
    USB设备驱动开发实例bulkusb介绍(USB device driver development instance bulkusb introduced)
    2013-03-12 12:17:31下载
    积分:1
  • vmulti-master
    windows 虚拟输出设备包含鼠标键盘(windows virtual output device contains mouse and keyboard)
    2020-12-08 15:29:21下载
    积分:1
  • 696518资源总数
  • 104793会员总数
  • 32今日下载