So printf is the analog in C of say in Scratch.
所以printfC模拟,比如Scratch。
You're actually going to say printf, for reasons we'll eventually see.
你实际上会说printf,因为我们最终会明白原因。
Again, printf is going to be the analog for say.
再说一遍,printfsay模拟值。
I can then surround my printf with curly braces.
然我可以用大括号把printf围起来。
But printf, again, takes an input that tells it what to print out exactly.
但printf,同样,接受一个输,告诉它到底要打印什么。
But now printf is going to take a second argument.
但现在printf接受第二个论点。
And we've seen that after printf for instance.
我们在printf之到了。
You can't just say while and then say printf hello, world.
你不能只说一会儿,然说printf你好,世界。
Print out using printf, x is less than y, backslash n.
使用printf打印,x小于y,反斜杠n。
Say is just like printf, just like if now is like if.
说像printf,像if现在if。
And let me just add in the printf's.
让我加上printf。
Let me get rid of my printf here.
让我把指纹处理掉。
Let me go ahead and just printf meow here.
让我继续,在这里打印喵喵。
Well, again, printf is your friend.
再说一遍,printf你朋友。
So I didn't have to use printf.
所以我不用用printf。
I don't know how it's implemented yet, but I know printf is going to exist.
我不知道它如何实现,但我知道printf会存在。
And yet somehow, printf is magically figuring out how long the string is.
然而不知何故,printf神奇地计算出了字符串长度。
A moment ago, I proposed that we just use printf to see the value of i.
刚才,我提议使用printf来查I值。
关注我们的微信
下载手机客户端
划词翻译
详细解释