登录
首页 » Visual C++ » Rectangle

Rectangle

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

  • qczdjl
    本程序是用数学方程试计算出一个点在一条线上的垂线坐标,并判断出在线内外,是测量中用的程序!(The test procedure is used to calculate the mathematical equation of a line a point in the vertical coordinate, and determine the line outside, the procedure used to measure!)
    2011-01-05 17:10:24下载
    积分: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
  • fluentcas
    fluent 软件动网格计算的CAS文件和二次开发程序。用来计算一个蜜蜂翅膀摆动时周围流畅的变化。(fluent moving grid computing, software, documents and secondary development of CAS procedures. Used to calculate the wings of a bee when swinging around the smooth changes.)
    2020-11-03 11:19:53下载
    积分:1
  • FFT
    提供基二FFT(频域)的C语言算法,希望对大家有用()
    2007-07-29 08:58:54下载
    积分:1
  • multiplication-table
    只是一个课堂上做的九九乘法表,可能很多人做过(Just a class to do multiplication table, many people may have done)
    2011-10-21 19:43:24下载
    积分:1
  • matrix-multiplication-and-inverse
    这是用C++做矩阵求逆和矩阵相乘,可以解简的线性方程。已验证,互相交流~(This is done using C++ matrix inversion and matrix multiplication, linear equations can be solved。)
    2014-03-25 11:24:24下载
    积分:1
  • covFunctions
    高斯回归建立代理模型行协方差函数的选着的变成(gpml-matlab-v3.1-2010-09-27)
    2011-01-03 19:18:15下载
    积分:1
  • fft
    对机械中的振动信号进行傅立叶变换,作出频谱图进行分析。(Fourier transform of the vibration signal)
    2009-10-19 19:01:34下载
    积分:1
  • Spline.h
    三次样条插值c++头文件,一些头文件,非常好(Cubic spline interpolation c++ header files, some header files)
    2020-12-10 15:19:18下载
    积分:1
  • ErosionTabakoff
    用于拓展fluent磨损模型的UDF,采用tabakoff经验公式描述磨损量。(a udf to optimize erosion model in Fluent)
    2021-03-05 17:19:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载