So here I've hardcoded the word true which is actually deliberately inducing what we called what last week.
所以在这里我们可以把条件写死,也就是我们上周提到过的,故意让循环条件,一直为真。
I love that game. I wish that there was room for me to play too.
我喜欢这个游戏。我真希望有地方可以让我也加入这个游戏。
How can Milton know that he was really and truly called by God to be a great poet until he writes something - it's not a bad question - until he has something actually to show for his talent?
弥尔顿怎么知道他是不是真的被,上帝选中了去做一个伟大的诗人,除非他真的创作出点儿什么--这是一个不坏的问题,-直到他真有可以证明自己才能的作品?
We can connect it with the fact that God has created humans in his own image, but the God-endowed sanctity of human life is an assumption, and it's the violation of that assumption which makes Cain culpable.
这点可以与上帝按照自己的意愿,造出人类联系起来,但是人类的神圣性,只是一个臆断,如果臆断是真的话,该隐的罪行就违背了这种说法。
There's this whole sense that the thing is precarious and you'd better kind of mind your Ps and Qs, or whatever the expression is, and be a good person or this whole thing could kind of be literally flooded away.
从这个场景中可以看出堤坝相当不稳定,你最好想想干过什么缺德事儿,或者捅过什么篓子之类的,总之得做个好人,否则,这整个城市就可能真会被大水冲走
You're going to know more details about it, they're not really colors, they're chemicals, specific chemicals - but the pattern is the same.
通过它,你可以知道更多,DNA不是真有颜色 它们只是化学物质,特殊的化学物质,不过模式是一样的
This is just a little inelegant and so one of the things we'll introduce early on is this idea of abstraction or design whereby if you wanna represent the ideas of 0 and 1, true or false, well, let's give them a synonym like true or false.
这么说有点粗野,我要接着讲的是这种抽象的思想,或者用这个来描绘设计出,真和假的思想,我们可以给真假各指定一个同义词。
Knowing that, I'm going to say, OK, how many pigs are there, well that's just how we're, however many I had total, minus that amount, and then I can see, how many legs does that give, and then I can check, that the number of legs that I would get for that solution, is it even equal to the number of legs I started with, ah! Interesting. A return.
它将给我返回头的总数,知道了这些之后我可以说好了,有多少猪呢,无论有多少组鸡的数目,我只要用总数减去那个值,之后我就可以知道一共有多少条腿,然后再把这个值和题目中的腿数相比较,看它是否等于一开始的腿数,啊!真有趣,有一个返回值。
I don't know the facts. If I could really do it right, I'd now open the door and bring in our guest physiologist, who would then provide the facts that I'm--what I'm about to go is "Blah, blah, blah."
我不懂这些,如果真要讲这些,可以打开门请一个客座生理学家进来,他会讲一些理论,对于我来说...会觉得很厌烦
So I can return true here.
所以我可以在这儿返回真值。
And then I run a loop in which I read something in, I check to see if it's the right type, if it is, I change that variable to say it's now the correct type, which means the next time through the loop, I'm going to say I'm all set and I'm going to bounce out.
因为我还没输入,然后我运行一个循环,循环内部我输入一些东西,然后看看是不是正确的类型,如果是的话我改变input,Ok为真,来证明输入数是正确的类型,这就意味着下一次运行这个循环的时候,就可以跳出循环继续执行了。
You can actually declare in C synonyms using special syntax that says, you know what, even though yes at the end of the day I'm implementing false as a 0 and true as a 1, I can abstract away from that detail and use words that are more intuitive to me like true and false.
实际上,你可以用C语言中的特定的语法,你们懂得,虽然到最后,我把0当成假,1当成真来看,我们也可以从这些细节中抽象出来,使用像“真““假“这样更直观的词。
应用推荐