It turns out there's a new function strlen S-T-R-L-E-N that you probably have not used yet called strlen, S-T-R-L-E-N, programmers early on and still like to be succinct but communicates sufficiently what they mean.
结果这里有个新的函数,你可能没有使用过,叫做,早期的和现在的程序员喜欢简洁地,但是能充分的传达他们的意思。
Use this pattern in any situation where you want to explain you've done it before.
当你想解释之前已经做过某事的时候,可以在各种情形下使用这个句型。
I don't have to go read what it printed out in the screen. This has returned a value that I can use. Because I could do a test to say, is this a return value? If it's not, I'll do something else with it. So the binding is still there, it simply doesn't print it out.
我不想读到屏幕中打印出来的这行字,程序返回过一个我能够使用的值,因为我可以做个小测试,来说明这是否是返回的值,如果不是,我可以做一些其它的事,而这个绑定依然在这儿,没有打印任何东西。
It's passing to this function called toupper, which if you've never used it it actually does what it says it makes it touppercase.
它把这个传递给toupper函数,如果你们使用过,它表示的是把小写字母,转换为大写字母。
But it was--It's funny that such a simple idea hadn't been used before.
但这...很有意思的是,如此简单的方式此前从未被使用过
A very simple pattern that you undoubtedly have heard and used many times before.
这是一个非常简单的句型,毫无疑问,你肯定已经听过或使用过很多回了。
It's used because of the reasons I described.
使用的原因我在前面讲过了
So here I'm going to use the example we had in class last time.
所以在这里,我将要使用上次在课上举过的例子。
I have no idea what's here at the moment so I'm just going to draw a question mark because that memory might have been used previously for some other purpose, but we know it's currently available to us so we have four bytes of memory.
我不知道在此刻这里是什么,所以我画一个问号,因为那块内存可能在之前,为其它的目的而使用过,但是我们知道它可以为我们所使用,这样我们就有4个字节的内存。
应用推荐