-
Rectangle
根据输入的长宽,计算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.)
- 2012-10-24 23:54:51下载
- 积分:1
-
fft
FFT快速傅里叶变换,用于数字信号处理,大大提高了运行速度,节省内存开销。C语言实现(FFT fast Fourier transform for digital signal processing, greatly improving the speed and save memory overhead. C language)
- 2011-05-30 00:54:58下载
- 积分:1
-
Cpp-openlb
格子boltzmann方法模拟2D圆柱绕流程序 C++程序d2Q9模型(Lattice boltzmann simulation program 2D flow around a cylinder model of C++ program d2Q9)
- 2021-04-02 14:19:07下载
- 积分:1
-
Computational-Science-codes
开发环境没有可选项,fortran90,Fortran_90_and_Computational_Science-_codes(Computational Science codes by fortran90
)
- 2013-10-10 17:07:12下载
- 积分:1
-
FilterCal
这个我写的一个计算LC滤波器的程序,可以显示出最后的频率截止情况,有最平法,椭圆法等计算方法(this, I wrote a calculation of the LC filter procedures can demonstrate that the frequency of the final deadline, the most-France, oval law calculation method)
- 2005-08-16 15:43:42下载
- 积分:1
-
C
说明: 含随机出题(四则运算)及其迭代程序、返回数组中最大子数组和及其迭代程序等。(Software class operations, including four operations and iterative procedure, returns an array of sub-arrays and the largest and Iterative procedures)
- 2016-07-01 08:32:22下载
- 积分:1
-
CalcExpress
很好的算法,可广泛用于各行业(如工控)计算组态(It s a very good arithmetic that can be used at many industries.such as industry control,for caculation configuration.)
- 2005-07-18 17:14:40下载
- 积分:1
-
udf_dpm_tongji
fluent多相流DPM模型中使用用户自定义函数对颗粒进行统计(DPM fluent multiphase flow model using user-defined functions for particle statistics)
- 2020-12-06 21:09:21下载
- 积分:1
-
niudunfa
计算方法实验,通过编程实现埃特金加速法,一般迭代法,牛顿法的收敛次数的计算(calculated experiment, Programming Aitken acceleration method, the general iterative method, the convergence of Newton's method of calculating the number of)
- 2006-05-31 08:48:47下载
- 积分:1
-
KnapSack
Fractional knapsack problem, Greedy algorithm
- 2010-05-12 09:52:02下载
- 积分:1