CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 搜索资源 - Shape 抽象

搜索资源列表

  1. csharptrail

    0下载:
  2. 使用多种几何图形,如圆、矩形和三角形等,其中要包括计算面积的方法Area。请声明一个抽象类Shape,在Shape类中统一声明一个抽象方法Area-use a variety of geometric shapes, such as circular, triangular and rectangular, which would include the area of the calculation method Area. Please statement an abstract class
  3. 所属分类:Windows编程

    • 发布日期:2008-10-13
    • 文件大小:817
    • 提供者:盖新
  1. 1354520

    0下载:
  2. 定义一个Shape抽象类,在此基础上派生出Rectangle和circle类,二者都有GetArea()函数计算对象面积,GetPerim()函数计算对象的周长。使用Rectangle类派生出一个新类Squre。
  3. 所属分类:数学计算/工程计算

    • 发布日期:2008-10-13
    • 文件大小:881
    • 提供者:ming wang
  1. 定义抽象基类Shape

    0下载:
  2. 一个程序,定义抽象基类Shape,由它派生出3个派生类:Circle(圆形)、Rectangle(矩形)、Triangle(三角形),用一个函数printArea分别输出以上三者的面积,3个图形的数据在定义对象时给定。-A program that defines an abstract base class Shape, which it derived three derived classes: Circle (Circular), Rectangle (rectangle), Trian
  3. 所属分类:其他小程序

    • 发布日期:2017-03-25
    • 文件大小:268301
    • 提供者:sword
  1. xufunction

    0下载:
  2. 写一个程序,定义抽象基类shape, 由它派生3个基类,Circle(圆),Rectangle(矩形),Trapezoid(梯形)。用虚函数分别计算几种图形的面积,并求他们的和。要求:用基类指针数组,使它的每一个元素指向一个派生类对象-Write a program that defines an abstract base class shape, it is derived from the three basic classes, Circle (round), Rectangle (re
  3. 所属分类:Other windows programs

    • 发布日期:2017-04-10
    • 文件大小:665
    • 提供者:wangjian
  1. shape

    0下载:
  2. 一、声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。封装上述各类,并编写测试程序。 -First, declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPeri
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-01
    • 文件大小:517
    • 提供者:赵莹莹
  1. Shape

    0下载:
  2. 抽象类Shape,抽象方法:计算面积和显示面积,派生子类矩形和三角形-Abstract class Shape, abstract methods: calculating the area and display area, derived subclass of rectangular and triangular
  3. 所属分类:GIS program

    • 发布日期:2017-03-31
    • 文件大小:1708
    • 提供者:luodi
  1. inheritance

    0下载:
  2. 设计一个抽象类Shape,包括2个抽象方法,分别是计算形状的周长和面积。设计具体类Rectangle和Circle,分别表示矩形和圆,它们都是Shapes的子类。使Rectangle和 Circle都实现Comparable接口。编写一个通用的排序程序和一个通用的二分查找程序(自己写代码实现),能对这二种类型的数组进行排序并查找指定的对象。-Design an abstract class Shape, including the two abstract methods, namely, ca
  3. 所属分类:WinSock-NDIS

    • 发布日期:2017-03-31
    • 文件大小:48227
    • 提供者:陈思
  1. shape

    0下载:
  2. /*做一个抽象的shape类 有一个可计算面积的抽象方法 1.做矩形和圆形两个类继承shape类 各自计算面积 2.根据两种图形的面积求法各自设置成员变量 3.设置图形类 包含图形名字和一个shape类型的成员 变量 并含一个方法 实现shape类成员的面积操作 4.做一测试类 分别根据不同的shape类对象实现多态*/-/* Do an abstract shape class has a way to calculate the size of an abst
  3. 所属分类:绘图程序

    • 发布日期:2017-03-03
    • 文件大小:658
    • 提供者:柳婷婷
  1. abstract

    0下载:
  2. 实现抽象类的应用--应用抽象类,求圆、圆内切正方形和圆外切正方形的面积和周长。定义一个抽象类shape,在其中作虚拟函数area()和porimeter()-Application of the realization of abstract class
  3. 所属分类:Windows Develop

    • 发布日期:2017-03-28
    • 文件大小:900144
    • 提供者:苏琪
  1. photo

    1下载:
  2. (1)定义一个抽象基类Shape,同它派生出5个类:圆、正方形、矩形、梯形、三角形。 (2)利用虚函数计算几种图形面积。 (3)演示构造函数、复制构造函数、析构函数的作用和调用顺序 (4)用类模板具体实现。 (5)利用MFC类库在图形用户界面上绘制及修改这些图形,采用对话框输入输出图形的基本属性 (6)用文件保存图形信息,且能够从文件中读取并作相应处理-(1) the definition of an abstract base class Shape, with its d
  3. 所属分类:Windows Develop

    • 发布日期:2015-01-06
    • 文件大小:2492698
    • 提供者:徐帅
  1. 1

    0下载:
  2. 定义一个抽象类的CShape,包括纯虚数Area(用来计算面积)和SetData(用来重设形状大小)。然后派生出三角形CTriangle类、矩形CRect类、圆CCircle类,分别求其面积。最后定义一个CArea类,计算这几个形状的面积之和,各形状的数据通过CArea类构造函数或成员函数来设置。-Defines an abstract class CShape, including the pure imaginary number Area (used to calculate the ar
  3. 所属分类:Other systems

    • 发布日期:2017-03-29
    • 文件大小:722
    • 提供者:卢振智
  1. lei

    0下载:
  2. 基于point为基类的点—圆—圆柱体类的层次结构的改写,在程序中使用虚函数和抽象基类。类的层次结构的顶层是抽象基类Shape(形状)。Point(点), Circle(圆), Cylinder(圆柱体)都是Shape类的直接派生类和间接派生类。-Point for the base class based on points- round- cylinder class hierarchy rewritten, in a program using virtual functions and a
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-03
    • 文件大小:1541
    • 提供者:最初的梦想
  1. shape

    0下载:
  2. Shape成为一个包含接口(供层次结构中的类使用)的抽象基类。从类Shape派生出二维形状类TwoDimensionalShape和三维形状类ThreeDimensionalShape,它们也都是抽象类,然后用虚函数print输出每个类的类型和维数。为了计算类层次结构中每个具体类的对象,这两个类中还要包括虚函数area和volume。最后再编写一个程序测试类Shape的层次结构-Shape into a contained interface (for the class hierarchy t
  3. 所属分类:Other systems

    • 发布日期:2017-03-28
    • 文件大小:245910
    • 提供者:大为
  1. 1

    0下载:
  2. 声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。封装上述各类,并编写测试程序。-Declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPerim () functio
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-03
    • 文件大小:645
    • 提供者:dhw
  1. shape

    0下载:
  2. 声明一个Shape抽象类,在此基础上派生出Rectangle和Circle类,二者都有GetArea()和GetPerim()函数,GetArea用来计算对象的面积,GetPerim用来计算对象的周长。封装上述各类,-Declare an abstract class Shape, on this basis, derived classes Rectangle and Circle, the two have GetArea () and GetPerim () function, GetAr
  3. 所属分类:Windows Develop

    • 发布日期:2017-05-03
    • 文件大小:1079199
    • 提供者:onway
  1. 3.1

    0下载:
  2. 声明一个Shape抽象类,并派生出Rectangle和Circle类,计算面积和周长-Declare an abstract class Shape, and derived classes Rectangle and Circle, calculate area and perimeter
  3. 所属分类:Algorithm

    • 发布日期:2017-05-14
    • 文件大小:3558886
    • 提供者:张莉
  1. AbstractClass

    0下载:
  2. 此范例包含一个抽象类,其中定义了计算各种形状周长、面积以及体积的方法,同时定义其他3个类分别实现三角形、圆形与正方形的相关周长、面积以及体积的计算方法。-This example contains an abstract class, which defines the shape of the calculation of perimeter, area and volume methods, while the other three categories were defined to a
  3. 所属分类:Algorithm

    • 发布日期:2017-04-11
    • 文件大小:980
    • 提供者:司马枫
  1. aq

    0下载:
  2. 写一个程序,定义抽象基类shape, 由它派生3个基类,Circle(圆),Rectangle(矩形),Trapezoid(梯形)。用虚函数分别计算几种图形的面积,并求他们的和。要求:用基类指针数组,使它的每一个元素指向一个派生类对象-Write a program that defines an abstract base class shape, it is derived from the three basic classes, Circle (round), Rectangle (re
  3. 所属分类:Algorithm

    • 发布日期:2017-03-27
    • 文件大小:612
    • 提供者:ad
  1. shape

    0下载:
  2. 用抽象类来定义图形类,并具体实现为不同的图形-Graphical abstract class to define class and concrete realization of different graphics
  3. 所属分类:ELanguage

    • 发布日期:2017-11-26
    • 文件大小:586
    • 提供者:汤汤
  1. du

    0下载:
  2. 定义一个包含两个纯虚函数的抽象类shape: class shape { public: virtual float Area()=0; virtual void SetData(float,float=0)=0; }; 成员函数SetData用于设置几何图形的属性值。成员函数Area()用于求出几何图形的面积。由shape派生出四种几何图形,分别是:三角形、矩形、正方
  3. 所属分类:网络编程

    • 发布日期:2017-12-25
    • 文件大小:1068032
    • 提供者:嘟嘟214
« 12 »
搜珍网 www.dssz.com