登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • duoxiangshi
    计算方法程序:多项式拟合(Calculation procedure: Polynomial Fitting)
    2008-05-01 14:42:31下载
    积分:1
  • Tin_Method
    离散数据生成tin的优秀代码,注释多,易于学习和移植(Discrete data generated tin excellent code, comments, easy to learn and transplantation)
    2012-05-18 13:12:23下载
    积分:1
  • 3D-beam-jisuanjibeihe
    C++编写“三维粱单元有限元计算内核”,对杆系有限元的理论和C++的理解有了很大提高(C++ written " three-dimensional beam finite element kernel module" , and on finite element theory and the understanding of C++ has been greatly improved)
    2010-05-13 21:51:51下载
    积分:1
  • HeatTransfer_1D
    求解一维热传导方程,格式包括FTCS、BTCS、CNCS三种差分格式(solve one dimension heat transfer equation. )
    2021-04-17 16:48:53下载
    积分:1
  • synthesis-of-mechanism
    对于给定的一组轨迹点,用优化方法实现铰链四杆机构轨迹复演。优化方法为共轭梯度法。(For a set of track points,we use a optimization method to optimize the track of Hinge four-bar mechanism. The optimization method is conjugate gradient.)
    2011-06-23 15:42:20下载
    积分:1
  • CG_DESCENT-C-2.0.tar
    共轭梯度法求解凸二次规划,代码由C语言开发,老外编写的程序,很值得一读。(Conjugate gradient method for solving convex quadratic programming, code generated by C language development, foreigners prepared program, it is worth reading.)
    2020-06-28 20:00:01下载
    积分:1
  • CODE_SOLIDIFICATION
    基于热焓法的凝固传热模拟的UFluent-UDF程序(UDF for Modelling Soldification using Enthalpy Porosity Technique)
    2021-04-16 20:08:53下载
    积分:1
  • shuzhijisuan
    数值计算实例,主要有LU分解,龙格库塔法,高斯分解法,欧拉法,曲线拟合,曲线插值(Numerical example)
    2014-01-03 10:38:53下载
    积分:1
  • Dot-Matrix-5x7-(1)
    Dot Matrix 5 x 7 sample progmam , hope you enjoy
    2012-12-11 10:33:42下载
    积分:1
  • vvuce
    使用matlab实现智能预测控制算法,分数阶傅里叶变换计算方面,实现了图像的加水印,去噪,加噪声等功能。( Use matlab intelligent predictive control algorithm, Fractional Fourier transform computing, Realize image watermarking, de-noising, plus noise and other functions.)
    2017-05-27 12:36:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载