-
vc
说明: 一个函数int fun(int *s,int t,int *k),用来求除数组的最大元素在数组中的下标并存放在k所指的储存单元中(A function int fun (int* s, int t, int* k), for requirements in addition to an array of the largest element in the array subscript coexist on the storage unit referred k)
- 2012-10-25 18:43:54下载
- 积分:1
-
四机两区
说明: 粒子群优化算法计算出的PSS优化模型,为四机两区模型(PSS optimization model calculated by particle swarm optimization algorithm)
- 2020-12-30 00:09:00下载
- 积分:1
-
5
一道程序编译顺序的考题,涉及到函数调用的先后顺序及运算符号的优先级等问题。下面我展开给你讲。
C的程序编译总是从main函数开始的,这道题的重点在“fun((int)fun(a+c,b),a-c)) ”语句。
系统首先要确定最外层 fun()函数的实参,第一个参数的确定需要递归调用fun()函数(不妨称其为内层函数)。内层函数的两个参数分别为x=a+b=2+8=10、y=b=5,执行函数体x+y=10+5=15,于是得外层函数的参数x=15。其另一个参数y=a-c=2-b=-6,再次执行函数体,得最终返回值x+y=15+(-6)=9。 (Compiling together the sequence of test procedures, involving the sequence of function calls and operator symbols, such as the priority problem. Now I give you to start speaking. Procedures for C compiler always start from the main function and at这道题the focus of " fun ((int) fun (a+ c, b), ac)) " statement. System must first determine the most outer layer of fun () function of real parameters, the first parameters of recursive calls required fun () function (may be called the inner function). Inner function separately for the two parameters x = a+ b = 2+8 = 10, y = b = 5, to execute the function body x+ y = 10+5 = 15, then the outer function parameters were x = 15 . Its another parameter y = ac = 2-b =- 6, once again to execute the function body may eventually return the value of x+ y = 15+ (-6) = 9.)
- 2009-03-15 15:36:23下载
- 积分:1
-
FFTDlg
FFT傅里叶快速变换,把变换的结果放到文件中,并用matlab绘制图形。( FFT the Fourier fast transformation, puts the transformation result to the document, and draws up the graph with matlab. )
- 2010-06-28 18:35:59下载
- 积分:1
-
DDS-programmed-in-matlab
用matlab实现dds,并进行相关参数分析(Using matlab to achieve dds)
- 2014-08-30 11:27:00下载
- 积分:1
-
timeclient_src
同步日期和时间的例子。(date and time synchronization example.)
- 2004-10-20 11:45:14下载
- 积分:1
-
zifuchuan
说明: 求N个字符的最大公共子串,超高效率,希望能给大家带来帮助谢谢(Request N sub-character string of the largest public, high efficiency, We hope you help thank you)
- 2010-04-15 15:40:10下载
- 积分:1
-
CComm
button of Xp style,provide some infterface of the button control!(button of Xp style, infterface provide some control of the button!)
- 2007-05-09 11:38:32下载
- 积分:1
-
PLANMODEL
The program model plane source as the model demonstration of 3D, easy for beginners to learn and exchange
- 2015-04-02 20:51:37下载
- 积分:1
-
Langr
网上下载的lang程序,求解插值挺好的,已经测试过(Lang downloaded program, solving the interpolation very good, has been tested)
- 2011-09-28 08:44:42下载
- 积分:1