登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • numerical-analysis
    高斯-塞德尔迭代、拉格朗日差值、牛顿法、四阶龙格库塔 与数值分析有关的公式(Gauss- Seidel iteration)
    2013-07-01 14:45:14下载
    积分:1
  • kalmanfileter_c-code
    外国人写的卡尔曼滤波器算法的库,可以供大家参考,已经封装好了(kalman library)
    2012-04-24 10:46:44下载
    积分:1
  • quadTreeMortCode
    编写求取下述矩阵四叉树四进制M码和十进制码程序,并将运算结果返回。 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 4, 4, 5, 5, 1, 1, 1, 1, 4, 4, 5, 5, 6, 6, 7, 8,13,13,14,14, 6, 6, 9,10,13,13,14,14, 11,11,12,12,15,16,19,19, 11,11,12,12,17,18,19,19 (Prepared to strike the following matrix quadtree quaternary M code decimal code and procedures, and the operation result returned. 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 4, 4, 5, 5, 1, 1, 1, 1, 4, 4, 5, 5, 6, 6, 7, 8,13,13,14,14, 6, 6, 9,10,13,13,14,14, 11, 11, 12,12,15,16,19,19, 11,11,12,12,17,18,19,19)
    2020-11-21 12:19:35下载
    积分:1
  • Dchaos-predica
    基于混沌理论进行数据预测的程序,欢欢迎需要的朋友参考下载,并提出修改意见 (, Please feel welcome the reference to a friend download data to predict the process based on chaos theory, and suggest modifications)
    2012-07-27 12:40:49下载
    积分:1
  • BICG
    BICG算法,是Krylov子空间的迭代方法之一(The BICG algorithm is one of the Krylov subspace iteration method)
    2012-07-09 21:57:18下载
    积分:1
  • 2d
    说明:  用FORTRAN语言实现二维欧拉方程的求解,采用二阶MUSCL迎风格式()
    2007-09-10 14:30:45下载
    积分:1
  • grid_adaptation_structure
    CFD数值计算中关于求解激波问题的基于非结构网格的自适应网格方法相关代码(CFD numerical calculation of the shock problem based on the unstructured grid method of adaptive grid method)
    2015-09-18 10:27:23下载
    积分:1
  • Workshop7
    An example of using a matrix object in order to pass values and complete a function.
    2015-12-10 23:32:02下载
    积分:1
  • 1.21b
    分数阶滑模工具箱,可用于解决阶次比较低的时候(fractional order sliding mode )
    2016-10-10 09:37:28下载
    积分:1
  • ThreeSpline
    数值分析中三次样条插值算法,运行稳定,并能画出最后的插值曲线(Numerical Analysis of cubic spline interpolation algorithm, running stability, and can draw the final curve interpolation)
    2020-12-10 16:39:18下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载