登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • 3
    用刷选法求出100之内的素数。并输出数有多少个。(100 prime number is calculated by the method of selection. And the output count how many.)
    2013-09-11 19:40:35下载
    积分:1
  • simultaneity
    同时辨识模型阶次及参数算法。用阶次递推算法,结合AIC法——利用赤池信息准则辨识上例的模型阶次和参数。(At the same time identify model order and parameters algorithm. By order recursive algorithm, combined with AIC method- the use of Akaike information criterion to identify the cases of the model order and parameters.)
    2008-06-26 16:16:18下载
    积分:1
  • NEWTONDIEDAI
    用C++来实现NEWTON迭代法解非线性方程算法数值分析,是数值分析里典型的一个算法。(In C++ to achieve NEWTON iterative numerical algorithm for solving nonlinear equations, numerical analysis is in a typical algorithm.)
    2011-10-09 21:58:54下载
    积分:1
  • css
    用visual basic编译的布谷鸟算法的源代码,是一种很好地启发式智能算法。(Use visual basic compiler cuckoo algorithm source code, is a good heuristic intelligent algorithm. )
    2013-07-19 17:02:51下载
    积分:1
  • n-s-equation
    一维的N_S方程的求解程序,是计算流体力学的算例(the N_S equation of one dimension .)
    2012-04-09 15:32:13下载
    积分:1
  • c_and_f
    c/C++跟fortran语言之间的一些转换(c/C fortran language with the conversion between)
    2007-05-31 13:46:32下载
    积分:1
  • phase-equivalence
    C 语言,模拟流体相平衡过程,得到混合气体平衡态以后的工况参数(C language to simulate fluid phase equilibrium process, to obtain a mixed gas equilibrium after working parameters)
    2020-09-04 16:48:06下载
    积分:1
  • zantaifenxi
    非常实用的时域仿真法暂态分析工具,利用牛顿法求解系统的微分方程组和代数方程组,得到转子摇摆曲线,判断暂态是否稳定(Very useful time-domain simulation tool for transient analysis method, using Newton method for solving systems of differential equations and algebraic equations, the rotor swing curves, to determine the stability of transient)
    2011-09-02 14:48:18下载
    积分:1
  • 1
    说明:  一维黎曼问题,一维问题,即激波管问题,是一个典型的一维可压缩无黏气体动力学问题,并有 解析解。对它采用二阶精度两步差分格式进行数值求解。(Riemann problem, One dimensional problem, the shock tube problem, is a typical one-dimensional compressible non viscous gas dynamic problem with analytic solutions. It is solved numerically by two order two step difference scheme.)
    2018-04-29 14:56:36下载
    积分:1
  • fit_line
    //最小二乘法直线拟合 m_FoldList为关键点(x,y)的链表 拟合直线方程(Y=kX+b) (//linear least squares fitting m_FoldList as the key point (x, y) of Chain fitting linear equation (Y = C/56 b))
    2005-08-24 04:40:23下载
    积分:1
  • 696518资源总数
  • 104569会员总数
  • 24今日下载