登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • FMM_C
    电磁计算用的快速多级子算法,欢迎大家下载交流(Fast multilevel sub algorithm for electromagnetic computation)
    2020-12-03 16:29:25下载
    积分:1
  • Newton
    C++编写的电力系统潮流计算程序,采用牛顿法,并考虑到节电优化编号,5,14,57,300节点验证正确(Power flow calculation program, C++ written using Newton' s method, taking into account the number to the power-saving optimization, 5,14,57,300 node authentication)
    2021-04-29 10:28:43下载
    积分:1
  • -recursive-
    天线组阵中相位差的递推最小二乘估计与滤波(Phase array antenna group recursive least squares estimation and filtering)
    2013-12-20 13:17:48下载
    积分:1
  • matrixmulti
    在visual studio的平台上开发CUDA程序实现并行加速计算矩阵的乘积,同时比较与串行计算的差异(Differences in the development of procedures to achieve parallel CUDA accelerated computing matrices in visual studio platform, but compared with the serial computing)
    2020-12-11 21:49:17下载
    积分:1
  • program
    FFT A计权 倍频程分析 三分之一倍频程分析(F F T A w eight o c tave a n al o n e t hird o ctave)
    2011-12-07 14:02:04下载
    积分:1
  • Computational-multibody-dynamics
    研究生动力学课程,计算多体动力学课程, 学习起来有点难度,如果有兴趣就看看吧(Graduate dynamics course)
    2016-03-18 20:36:34下载
    积分:1
  • 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
  • cddbn__Y1020918
    研究典型相关分析的各种线性算法和非线性算法,并通过实验数据的比较说明了它们各自的特点(Canonical Correlation Analysis Study of the various linear and nonlinear algorithms algorithms, and through comparison of experimental data shows the characteristics of their respective)
    2008-05-06 09:38:56下载
    积分:1
  • 2DPE_VCPP6.0
    抛物方程是由赫姆霍兹方程推导而来,在计算大区域电磁传播有较大的优势,本程序是二维的情况。(Parabolic equation is derived the Herm Holtz equation, in the calculation of large areas of electromagnetic propagation has a greater advantage, the program is a two-dimensional situation.)
    2016-11-20 12:32:02下载
    积分:1
  • DFP
    DFP法求优化问题的C++源代码,经测试,该程序运行正常,得到了预期的结果。(DFP method for the optimization of C++ source code, tested, the program works correctly to get the desired results.)
    2011-11-19 14:07:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载