You don't have to declare a special variable for it if you don't care about its actual value.
你并不需要为它声明一个特定的变量,如果你不关心它的实际值。
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函数的原型,而可以调用它。
- Then you declare a float called f and then assign it -- -- let me scroll up for the folks in front -- that give return value of GetFloat.
然后你声明一个float类型f,再赋值-,让我向上为你们回滚到-,给出了GetFloat的返回值。
But notice unlike a for loop, if you want to declare a variable or increment or decrement to variable, you've got to do that yourself.
但请注意不像for循环,如果你想声明一个变量,或者变大或变小一个变量,你需要自己完成。
So there's no mention of int, and yet we've been saying for the past couple of lectures, that anytime you declare a variable, you absolutely have to specify its type.
这里没有提及int,我们在前几个演讲中,一直讨论的东西,任何时候你声明一个变量,你必须指定它的类型。
应用推荐