还可以使用此接口创建普通对象,而不调用它们的构造函数。
You can also create vanilla objects without calling their constructors using this interface.
函数可以自由使用288字节的内存,对于不调用其他函数的函数来说,这段内存物理上在堆栈指针之下。
Functions are free to use the 288 bytes that are physically below the stack pointer for functions that do not call other functions.
但由于基线条件并不调用任何其他函数,所以无需从堆栈框架加载链接寄存器——值还在原处。
However, since the base case doesn't call any other functions, you don't need to load the link register from the stack frame — the value is still there.
Now because among its contents is the prototype for print F, that is why, very simply, I can call print F without having to declare its prototype myself.
现在因为在它的内容中是printf的原型,这就是为什么我可以不声明printf函数的原型,而可以调用它。
to do sqrt, or square root-- no, I'm going to square root use sqrt, that's the name I'm using here-- square root a hundred different places in some piece of code. Without function, I'd have to copy that piece of code everywhere.
让我做一下准备,想象一下我要调用sqrt或者-,不,我会调用sqrt函数,这是我在这里用的名字,我得把这段代码到处复制。
应用推荐