登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • Gauss_Seidel
    数值分析中的高斯——塞德尔迭代算法的的C语言实现(Numerical Analysis of Gauss- Seidel iterative algorithm of the C language)
    2009-05-17 12:50:19下载
    积分:1
  • vof
    计算多项流的好程序,简单好用,计算量小。可以较好的模拟二维的两项变化情况(Calculating a number of streams of the program, easy to use, small amount of calculation. Can better simulate the two-dimensional variation)
    2020-12-01 11:39:27下载
    积分:1
  • ILU
    完成了复数矩阵的计算,采用了并行算法原理,较快速的处理了稀疏矩阵方程结构。(Completed a complex matrix computation, parallel algorithm principle, more rapid processing of the sparse matrix equation structure.)
    2010-12-29 10:11:50下载
    积分:1
  • measured_FRF_valuesdefination
    频率响应函数计算程序,通过输入结构的响应数据,识别结构的模态参数,matlab(frequency response function,)
    2014-02-28 15:04:11下载
    积分:1
  • MillerRabin()
    素性检测的miller-rabin算法。。。。。(Primality testing)
    2011-11-23 16:56:41下载
    积分:1
  • FractalDim
    盒维数计算和豪斯多夫维数的计算与应用研究程序(box counting)
    2013-07-27 17:50:31下载
    积分:1
  • RSM
    响应面方法的一个例子,二阶响应面,使用正交矩阵法求解(rsm algorithms )
    2009-11-10 22:32:19下载
    积分:1
  • xb
    说明:  fluent中作液体蒸发相变的udf,非常专业,证明可行(fluent in the evaporation of liquid phase transition for udf, very professional, proved to be feasible)
    2014-04-07 10:53:26下载
    积分:1
  • sor超松弛迭代法
    一个实现sor超松弛迭代法的c语言算法,可以帮助新手完成矩阵计算(A C language algorithm for realizing over relaxation iterative method)
    2017-06-30 09:34:56下载
    积分:1
  • SUANFAPPT
    常用的算法设计策略(包括分治策略、动态规划、贪心策略、回溯法、随机算法等) 算法复杂度分析方法(计算迭代次数、使用递归方程、频度分析等) (Commonly used algorithm design strategies (including the strategy of divide and conquer, dynamic programming, greedy strategy, backtracking method, random algorithm) algorithm complexity analysis (number of iterations, using a recursive equation, frequency analysis, etc.))
    2013-04-23 12:28:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载