So I didn't have to use printf.
所以我不用用printf。
I can then surround my printf with curly braces.
然后我可以用大括号把printf围起来。
Well, again, printf is your friend.
再说一遍,printf是你朋。
A moment ago, I proposed that we just use printf to see the value of i.
,我提议使用printf来查看I值。
You can't just say while and then say printf hello, world.
你不能只说一会儿,然后说printf你好,世界。
Let me go ahead and just printf meow here.
让我继续,这里打印喵喵。
And we've seen that after printf for instance.
我们printf之后就看到了。
You're actually going to say printf, for reasons we'll eventually see.
你实际上会说printf,因为我们最终会明白原因。
So printf is the analog in C of say in Scratch.
所以printf是C,比如Scratch。
Again, printf is going to be the analog for say.
再说一遍,printf将是say值。
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。
But now printf is going to take a second argument.
但现printf将接受第二个论点。
But printf, again, takes an input that tells it what to print out exactly.
但是printf,同样,接受一个输入,告诉它到底要打印什么。
And let me just add in the printf's.
让我加上printf。
Let me get rid of my printf here.
让我把指纹处理掉。
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神奇地计算出了字符串长度。
And we're dumping the two registers, just using some printf, and then try with a hex dump function that I wrote to dump the 96 kilobytes of code where the IROM is.
我们正转储两个寄存器,仅使用一些 printf,然后尝试使用我编写十六进制转储函数来转储 IROM 所 96 KB 代码。
关注我们的微信
下载手机客户端
划词翻译
详细解释