搜索资源列表
Surface-and-Area
- 计算柱体的体积和表面积,利用开闭原则,实现接口-Calculating the volume of the cylinder and the surface area, using the principle of opening and closing, and implement the interface
CaculatePerimeter
- 通过Java的面向对象编程,实现对图形的表面积的求解-Java object-oriented programming, the solving of the surface area of the graphics
Triangle-and-cylinder-class-package
- (1)创建一个三角形类Triangle,包含的属性有三条边的长sideA,sideB,sideC,包含的方法有构造方法(两个,一个没有参数,一个给定三条边的长度),求面积方法area(),求周长方法getLength(); 提示:设三角形的三边长为a,b,c,则它的面积为 ,其中S=(a+b+c)/2,开平方的方法为Math.sqrt()。 (2)创建一个圆柱体类YZT,包含的属性有底面半径radius和圆柱体的高heigth,包含的方法有构造方法(两个,一个没有参数,一个给定半径rad
BOX
- 设计一个立方体类Box,它能计算体积和表面积,设计后自行测试。 私有数据:a(边长),volume(体积),area(表面积) 构造函数:1.Box(),2.Box(float r) 设计一个立方体类Box,它能计算体积和表面积,设计后自行测试。 私有数据:a(边长),volume(体积),area(表面积) 构造函数:1.Box(),2.Box(float r) -It can calculate the volume and surface area, to desi
xt3-2
- 计算圆的周长、面积和球的表面积、体积的小程序-Calculate the circumference of a circle, the surface area of the area and the ball of small programs, Volume
biaomianji
- 用matlab计算锥体表面积。可计算圆锥,椭圆锥近似计算。-Using matlab to calculate the the pyramidal surface area. Computable conical, elliptical cone approximate calculation.
MVC
- 简单的MVC模式设计,输入球的半径,输出体积与表面积-Simple MVC pattern design, enter the radius of the sphere, the output volume and surface
mianxiangduixiang
- C++面向对象方法的编程,包括磁盘文件数据的输入输出,复数运算,求圆的表面积,图书管理程序,学生数据的赋值和输出,钟表类及闹钟类,时间的输入和输出,正整数集合的运算,泳池造价,people类。-C++ object-oriented programming methods, including disk file data input and output, complex computation, the surface area of circular, l
prouf-
- 正方体球体和圆柱体在无数次分割的情况下 的表面积与体积之比-Cube spheres and cylinders in the case of split numerous times the surface area to volume ratio
1
- 就算球体和正方体表面积和体积的java小程序 --------------------Configuration: CalculateObj - JDK version 1.7.0_07 <Default> - <Default>-------------------- 球体的表面积为:113.09733360000001 球体的体积是:113.09733360000001 正方体的表面积为:6.0 正方体的体积是:1.0 Process c
Lab12_2
- 要求计算正方体、球和圆柱3个几何体的表面积和体积。要求抽象出一个公共的基类Base,把它作为抽象类,在该类内定义求表面积和体积的纯虚函数。在抽象类中可以定义一个数据成员length,它可作为球的半径、正方体的边长或圆柱体底面积的半径。-Required to calculate cube, sphere and cylinder 3 geometry surface area and volume. Requires a common abstract base class Base, take
geometry
- c++虚基类的应用实例,定义虚基类计算正方体,球体,圆柱体的表面积和体积。-c++ virtual base class of application examples, the calculation base class defines a virtual cube, sphere, cylinder surface area and volume.
container5.1
- 求圆柱,立方体,球体的表面积和体积求圆柱,立方体,球体的表面积和体积-Of cylinder, cube, sphere of surface area and volume
exp5.1
- 求圆柱,立方体,球体的表面积和体积求圆柱,立方体,球体的表面积和体积-Of cylinder, cube, sphere of surface area and volume
ExportClassDll
- 创建Win32 DLL导出一个计算长方体表面积和体积的类,VC++精选编程源码,很好的参考资料。-Create a Win32 DLL derived a calculation of rectangular surface area and volume, VC++ select programming source code, a good reference.
UseExportClassDll
- 调用DLL,使用其导出类计算长方体的表面积和体积,VC++精选编程源码,很好的参考资料。-The call to DLL, use the derived class calculation of rectangular body surface area and volume, VC++ select programming source code, a good reference.
3
- 设计一个立方体类Box,能够计算并输出立方体的表面积和体积。 提示:定义一个立方体类Box,包含一个私有数据成员(立方体边长),两个公有函数(构造函数Box和计算并输出立方体的表面积和体积的函数show)。 -Design of a cube class Box, the output can be calculated and the surface area and volume of the cube. Tip: define a class cube Box, comprisin
addition
- 建立对话框应用程序,输入圆柱的半径和高,输出表面积-Establish dialog application, enter the radius of the cylinder and high output surface
inherit-
- 试定义类TRI(三角形)及其派生类COL(三角柱体).其中三角形类可以计算三角形的面积和周长:三角柱体类可以计算柱体的体积和表面积.-Try to define classes TRI (triangle) and its derived classes COL (triangular prism) which can calculate the triangle class area and perimeter of triangles: triangular prism class can
1
- 首先定义类Point,然后定义类Point的公有派生类Circle,在定义类Circle的公有派生类Cylinder。 类Point的数据成员int型的x和y,用于表示点的坐标位置,有成员函数p_show()、构造函数和析构函数、p_set(),p_show()用于娴熟输出点的坐标,p_set()用于设置x和y的值。 类Circle有新增私有数据成员float型的h和double型的s,表示圆的半径和面积,有成员函数c_area用于计算圆的面积并对s赋值,有成员函数c_set(