declare function 函数宣告
In the module, I declare a function of this type to deal with the incoming data.
在这个模块中,我们声明了一个这种类型的函数来处理到达的数据。
The stack interface dramatically simplifies this; there is no need to define or declare the arguments that the function takes.
栈接口大大简化了这一点;在此,没有必要定义或声明函数所带的参数。
A manifestly typed language forces you to declare each variable and each function argument.
显式类型语言要求声明每个变量和每个函数参数。
If you scroll back up on the printout or screen here, you'll see that you can actually not only declare function's prototypes, their general structure.
如果我回滚到打印输出或者这个屏幕,你们将看到你们不仅可以声明函数的原型,它们的一般结构。
So now, henceforth, when you say, to declare a function, I am declaring a function here but down here am I quote unquote defining it or implementing it.
从此以后,当你说,声明一个函数,我在这里声明了一个函数,但是到这里我定义它或执行它。
So A gets 1, B gets 2, now the swap function itself starts executing line by line; so I declare a chunk of memory called temp.
所以A等于1,B等于2,现在swap函数自己开始,一行一行地执行,所以我声明了,叫做temp的一块内存。
应用推荐