登录
首页 » Visual C++ » Rectangle

Rectangle

于 2012-10-24 发布 文件大小:4KB
0 282
下载积分: 1 下载次数: 3

代码说明:

  根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中(Rectangle Create a class Rectangle with attributes length and width, each of which defaults to 1 a. Provide member functions that calculate the perimeter and the area of the rectangle. b. Also provide set and get functions for the length and width attributes. The set functions should verify that length and width are each integer numbers larger than 0 and less than 20. c. Write draw function to display the Rectangle: in Assignment1. ) d. Write a driver program to test class Rectangle.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • rtfindgen
    多物理场耦合软件采用有限元方法模拟rtfindgen(Coupled multi-physics simulation software using the finite element method rtfindgen)
    2017-03-10 00:38:29下载
    积分:1
  • Large_Scale_NMF
    处理大规模矩阵,对大规模的矩阵进行分解,即形如分解A=UV(To deal with large-scale matrix, mass matrix decomposition, that is shaped like a decomposition A = UV)
    2012-12-12 21:19:34下载
    积分:1
  • db
    说明:  本程序用在测试采煤机煤矸识别系统中,验证小波算法(Wavelet Algorithm for caving coal)
    2013-08-10 18:33:01下载
    积分:1
  • remember
    很好很实用的信号处理程序。适合学习和科研参考使用。(Very good very useful signal processing. Suitable for learning and scientific research use and reference.)
    2008-06-25 11:27:08下载
    积分:1
  • fft
    对机械中的振动信号进行傅立叶变换,作出频谱图进行分析。(Fourier transform of the vibration signal)
    2009-10-19 19:01:34下载
    积分:1
  • acoustic
    交错网格声波方程交错网格有限差分地震波场计算波场正演模拟。 (The CalCulation of the SeismiC Wave一 fieldwith Staggered-grid Finite difference Sheme )
    2010-09-19 15:53:45下载
    积分:1
  • Curve_fitting
    对平面上给定的多点进行多项式曲线的拟合,可设置拟合多项式的次数(Given more points on the plane polynomial curve fitting, you can set the number of polynomial fitting)
    2021-02-14 15:29:49下载
    积分:1
  • Newton
    C++编写的电力系统潮流计算程序,采用牛顿法,并考虑到节电优化编号,5,14,57,300节点验证正确(Power flow calculation program, C++ written using Newton' s method, taking into account the number to the power-saving optimization, 5,14,57,300 node authentication)
    2021-04-29 10:28:43下载
    积分:1
  • -recursive-
    天线组阵中相位差的递推最小二乘估计与滤波(Phase array antenna group recursive least squares estimation and filtering)
    2013-12-20 13:17:48下载
    积分:1
  • na7
    Orthogonal Polynomials Approximation 数值分析,计算正交基多项式的系数 (Given a function f and a set of m >0 distinct points . You are supposed to write a function to approximate f by an orthogonal polynomial using the exact function values at the given m points with a weight assigned to each point . The total error must be no larger than a given tolerance. Format of function int OPA( double (*f)(double t), int m, double x[], double w[], double c[], double*eps ) where the function pointer double (*f)(double t) defines the function f int m is the number of points double x[] contains points double w[] contains the values of a weight function at the given points x[] double c[] contains the coefficients of the approximation polynomial double*eps is passed into the function as the tolerance for the error, and is supposed to be returned as the value of error. The function OPA is supposed to return the degree of the approximation polynomial. Note: a constant Max_n is defined so that if the total error is still not small enough when n = Ma)
    2011-11-27 11:47:21下载
    积分:1
  • 696516资源总数
  • 106425会员总数
  • 12今日下载