搜索资源列表
circle_wyb
- (1) 用浮点数定义2 个几何量m1 和m2;m2 的缺省值为0.0。 (2) 实现2个构造函数:允许用1 个参数或2个参数声明几何对象。用1 个参数r 声明 的几何对象为半径为r 的圆;用2 个参数r1 和r2 声明的几何对象为r1´ r2 的矩形。所声明 的几何对象的中心在原点。 (3) 定义计算几何对象的面积,周长和对角线长度的成员函数。 (4) 对于给定的实数r,先声明一个半径为r 的圆c1;然后声明一个c1 的外切矩形s, 接着再声明s的外接圆c2。
sy1201
- 求两点的距离以及求三角形三个顶点的坐标,三边的周长和面积-The distance between two points and the demand requirements of the coordinates of the triangle of three vertices, three sides of the perimeter and area
p1-1
- C语言编程实现根据输入的半径来计算圆的周长和面积源代码。-C programming language based on the input to calculate the radius of a circle' s circumference and area of the source code.
