登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • fourier_trans
    傅立叶变换的C语言实现,可在Turbo C以及Visual C++下实现。(Fourier Transform C language, in Turbo C and Visual C under.)
    2006-12-31 11:06:45下载
    积分:1
  • matrix
    C++中矩阵运算的实现 nr3.h为其他的书籍代码,测试环境为VS2008(Achieve C++ in matrix operations nr3 code for other books)
    2014-10-16 10:25:43下载
    积分:1
  • Biot-Savat
    根据物理学的毕奥-萨法尔定理,计算环形线圈周围电磁场的强度。。(According to physics, Biot- Safar theorem, calculate the intensity of electromagnetic field around the circular coil. .)
    2010-10-01 19:00:18下载
    积分:1
  • FFT4
    计算按频率抽取的基4快速傅里叶变换算法,与基2FFT相比,基4FFT的乘法量约减少25 。(Calculating frequency taken by fast Fourier transform algorithm base 4, compared with the base 2FFT the base 4FFT multiplication about 25 less.)
    2020-11-22 11:29:35下载
    积分:1
  • rili
    计算日期时间,可以显示不同颜色,主要用以计算上班日期,换班日期,十分方便。(Daliy Calc)
    2015-05-04 13:37:15下载
    积分:1
  • 平面问题的有限元程序
    说明:  平面问题的有限元基础,大家可以参考一下学习学习(The finite element foundation of the plane problem, you can refer to it)
    2020-06-21 21:56:58下载
    积分:1
  • PID自动控制电机转速
    利用pid算法控制电机转速,转速可调,数码管显示,初学者实用(Using PID algorithm to control motor speed, adjustable speed, digital display, beginners practical)
    2020-06-22 16:00:01下载
    积分:1
  • UU
    说明:  c++语言求解稀疏矩阵方程组的ICCG法源程序。参考:《工程电磁场数值计算分析与综合》 附录(Fortran90).(c++ solves sparse matrix equations with the ICCG method.Reference: &quot Analysis and Synthesis of Numerical Electromagnetic Field ,&quot Appendix (Fortran90).)
    2010-06-08 18:53:07下载
    积分:1
  • 2d
    说明:  用FORTRAN语言实现二维欧拉方程的求解,采用二阶MUSCL迎风格式()
    2007-09-10 14:30:45下载
    积分:1
  • practice6_17
    用矩阵法求定积分1/(1+x^2)dx,区间是(-4,4)(Definite Integral Matrix Method)
    2010-05-17 01:34:47下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载