登录
首页 » Visual C++ » Rectangle

Rectangle

于 2012-10-24 发布 文件大小:4KB
0 359
下载积分: 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 个回复

  • digitalfiltercode
    圆周卷积滤波器,可清晰见到实际滤波器的算法(Circular convolution filter, can clearly see that the actual filter algorithm)
    2007-12-10 09:14:25下载
    积分:1
  • 2d
    说明:  用FORTRAN语言实现二维欧拉方程的求解,采用二阶MUSCL迎风格式()
    2007-09-10 14:30:45下载
    积分:1
  • fenerzhizhisuanfa
    说明:  这是一个ACM试题中的算法,叫分而治之算法,上面有PPT还有实例代码,希望喜欢ACM的同学可以喜欢(This is a Question in the ACM algorithm, called divide and conquer algorithms, there are examples of the code above, there are PPT hope that students like to be like the ACM)
    2010-03-26 12:38:25下载
    积分:1
  • practice6_17
    用矩阵法求定积分1/(1+x^2)dx,区间是(-4,4)(Definite Integral Matrix Method)
    2010-05-17 01:34:47下载
    积分:1
  • Gauss
    高斯消元法、高斯列主元消元法解线性方程组。程序由本人独立完全独立完成。版权所有!(Gaussian elimination method out PCA Gaussian elimination method for solving linear equations. I am independent program consists entirely independently. All rights reserved!)
    2013-08-10 12:31:59下载
    积分:1
  • 71001
    基于全相位谱分析的相位差频谱校正法,结合了全相位FFT与传统FFT谱分析法。(Phase Difference Correcting Spectrum Method)
    2009-05-19 21:40:09下载
    积分:1
  • calculat
    WINDOWS计算器程序(Windows calculator program)
    2004-11-19 14:14:22下载
    积分:1
  • shiyan4
    若矩阵A中的某一元素A[i,j]是第i行中的最小值,而又是第j列中的最大值,则称A[i,j]为矩阵A中的一个鞍点。请写出一个可确定此鞍点位置的算法(如果这个鞍点存在)。(If the matrix A, an element A [i, j] is the minimum value in the i-th row, but is the maximum value of the j-th column, then A [i, j] for the matrix A is a saddle point. Please write a algorithm to determine the position of saddle point (saddle point exists).)
    2013-01-07 13:16:11下载
    积分:1
  • nihe
    最小二乘法拟合进行n次多项式拟合,N用来控制拟合的次数,例如N=5时进行4次多项式拟合,还回的是拟合系数(Least squares fit polynomial n times, N is used to fit the number of control, e.g., N = 5 When quartic polynomial fitting, further back are fitting coefficients)
    2021-02-14 15:39:49下载
    积分:1
  • RSM
    响应面方法的一个例子,二阶响应面,使用正交矩阵法求解(rsm algorithms )
    2009-11-10 22:32:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载