登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • 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
  • 2
    说明:  地球处理多边体的重磁异常的正演,主要是地球数据处理的课程的实验项目2(The forward modeling of gravity and magnetic anomalies in the earth s processing of the multilateral body is mainly the experimental project of the earth data processing course 2)
    2016-03-14 21:28:38下载
    积分:1
  • matrix
    C++中矩阵运算的实现 nr3.h为其他的书籍代码,测试环境为VS2008(Achieve C++ in matrix operations nr3 code for other books)
    2014-10-16 10:25:43下载
    积分:1
  • ShortDistance
    本算法是求取点到曲线的距离,希望对大家有帮助(the algorithm is to strike a point of the distance curve, and I hope to be helpful)
    2006-11-09 10:48:00下载
    积分:1
  • LBM-cylinder
    用LBM结合非平衡外推方法实现的圆柱绕流,柱面边界以非平衡外推方法实现。(LBM combined with the extrapolation method of achieving non-equilibrium flow around a cylinder, cylinder boundary to achieve non-equilibrium extrapolation method.)
    2021-04-02 14:19:07下载
    积分:1
  • drop
    使用fluent udf编程,实现水滴在空气中的运动描述。(Use fluent udf programming, to achieve the movement of water droplet in the air.)
    2014-06-13 14:27:10下载
    积分:1
  • Optimization
    混合储能,风机,光伏,柴油机之间的优化配置的仿真分析程序(Optimize the allocation of mixed storage, wind, solar, diesel between Simulation Software)
    2016-08-04 10:55:15下载
    积分:1
  • vof
    计算多项流的好程序,简单好用,计算量小。可以较好的模拟二维的两项变化情况(Calculating a number of streams of the program, easy to use, small amount of calculation. Can better simulate the two-dimensional variation)
    2020-12-01 11:39:27下载
    积分:1
  • -recursive-
    天线组阵中相位差的递推最小二乘估计与滤波(Phase array antenna group recursive least squares estimation and filtering)
    2013-12-20 13:17:48下载
    积分:1
  • 1parallel
    用于FLUENT计算结构单自由度涡激振动,采用四阶龙哥库塔法,并设置了并行计算(FLUENT, VIV, Fourth order Runge-Kutta )
    2016-09-30 18:49:07下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载