登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • 矩阵链乘
    说明:  距阵链乘问题: 找出矩阵链乘A(35*40) A(40*20) A(20*10) A(10*15)的最佳相乘次序。 算法来自:计算机算法导引(matrix chain by : identify matrix chain by A (35* 40) A (40* 20) A (20* 10) A (10* 15) concludes the best order. Algorithm from : computer algorithm Seeker)
    2005-11-17 09:23:42下载
    积分:1
  • jiadianji
    基于vc++6.0的佳点集遗传算法的编程,里面的各项参数均可由使用者自我调整!(Vc++6.0 based on the good point set genetic algorithm programming, which the parameters can be adjusted by the users themselves!)
    2010-11-29 14:44:35下载
    积分:1
  • VLM
    涡格法进行无人机的设计,升力系数,阻力系数,力矩系数等等,美过圣母大学的设计辅助软件(VLM)
    2010-11-26 21:10:51下载
    积分:1
  • cgmotion
    fluent udf的动网格程序,实现了刚体和基于节点的运动(cg-motion grid motion)
    2020-11-20 09:39:37下载
    积分:1
  • FROG
    电磁计算 几何光学 计算电磁学 几何光学法 程序(computational electromagnetic GO)
    2021-04-06 09:29:02下载
    积分:1
  • FFT842
    基二、基四、基八 FFT变化源代码,有详细注解(Second base, the base four or eight FFT-based changes in the source code, detailed comments)
    2021-02-20 14:09:43下载
    积分:1
  • My21Narcissus
    21位水仙花数的寻找,里面用到了大数乘法等细节上的东西。(find the 21 digits narcissus.)
    2012-09-07 11:42:41下载
    积分:1
  • shuzhijisuan
    数值计算实例,主要有LU分解,龙格库塔法,高斯分解法,欧拉法,曲线拟合,曲线插值(Numerical example)
    2014-01-03 10:38:53下载
    积分:1
  • EMD
    利用emd算法解决经验模式分解的一些存在的端点效应问题。 有效的解决了问题。(Using emd algorithm to solve some of the empirical mode decomposition end effects exist. Effective solution to the problem.)
    2020-10-19 16:27:25下载
    积分:1
  • R-K
    四阶龙格库塔法,用C++编写,很有参考价值(Fourth-order Runge-Kutta method, written in C, a good reference)
    2011-12-29 20:44:34下载
    积分:1
  • 696516资源总数
  • 106425会员总数
  • 12今日下载