So now, henceforth, when you say, to declare a function, I am declaring a function here but down here am I quote unquote defining it or implementing it.
从此以后,当你说,声明一个函数,我在这里声明了一个函数,但是到这里我定义它或执行它。
And then here, the exams and papers are hard, I guess. but I guess harder for international students
在这里,考试和论文都难,我觉得。但是我觉得对国际学生来说更难,
printf So here I'm culling printf in a loop again and again, but I'm literally overwriting the previous thing that I wrote.
所以这里我一次次地在循环中使用,但是我逐行地覆盖了我之前所写的东西。
We know that there are some students here who don't have roommates but the majority of our first year students have roommates.
我知道,在这里的有些学生,还没有室友,但是大多数的大一新生,是有室友的。
But a point I'm trying to make is, it sounds like anymore computers have gotten so blazingly fast, why should you worry about it?
但是这里我要讲的一点是,在任何一台计算机,都能这么快的运算的情况下,我们还管效率这个问题干嘛呢?
That's a really good question, and I'm talking in terms of generalities here but the specifics matter.
这是一个很好的问题,我在这里讨论的是普遍情况,但是还有一些比较特殊的例子
But,there's also another family of pretenders, but Orleanists--I just wrote it there in English.
但是还有另外一个家族觊觎王位,奥尔良家族,我在这里用英语写
No, I don't here. No. I have many guy friends but I haven't still found a boyfriend.
没有,在这里没有。没有。我有很多男性朋友,但是仍然没有找到男朋友。
I hope this class isn't changing your sleeping habits too much, but I'm delighted to have you here.
也希望这个课程没有过多地,改变你们的睡眠习惯,但是我很高兴你们能在这里
That will again be a Friday but it will be at nine o'clock and he will be here so I think that will be a lot of fun also.
那天会是一个星期五,但是会在9点开始并且他会来到这里,所以我认为届时会非常有趣。
I say this now with great confidence but ten years ago this story, which all the Greeks agreed too, agreed upon in every respect, that the temple of Apollo was built right on top of this, and underneath the floor of the temple was this little room where the gases came up, where the priestess sat, where all of this came up.
我现在敢在这里夸夸其谈,但是十年前,当时的希腊人,对这个传说都是深信不移的,阿波罗神庙正好建在它上面,神庙地板底下正是气体出现的小屋,女祭司也坐在这里,一切都发生于此
But yeah, she's great! I love her. I met her here and it's going great.
但是,是的,她很棒!我爱她。我在这里认识她,我们的关系很好。
But I've lived here my whole life. I like it here.
但是我一辈子都住在这儿。我喜欢这里。
Not so much here, but because I do Bikram yoga,
不常在这里。但是因为我练高温瑜伽,
But here I'm doing the exact same thing except my number here 13 0 in the bottom in the denominator is 13.0.
但是这里我在做一个同样的计算,除了在下面的分母是。
It's just some random chunk of four bytes that happens to be available at this point in time, but I can put something there.
只是一些随机的四字节的内存块,在这里是可以使用的,但是我可以在那里放置东西。
We'll try to raise them with all the technologies, we won't try to answer them, there are probably better people at Yale to answer those kinds of questions than I am.
我们会将其与有关技术共同提出,但是这里我不会给出解决方法,或许在耶鲁大学有其他专家,更擅长这些问题
I guess it's not macho enough, John, to just, you know, you know, go off and do things by hand, you ought to just run them, but it's a valuable tool to get into, so let me do that here.
我认为这不太男人了,John,你知道的,他们仅仅是认为比起用手做来,更应该直接去运行程序,但是这确实是调试代码的非常有价值的工具,让我在这里给大家演示下吧。
It's kind of a stupid lack of feature that this is the case, but notice that here is main, at the top of my file.
这是有点笨的,缺少特征的,就是这种情况,但是注意这里是main函数,在我的文件的顶端。
Well, I don't know yet and although, yes, I do in this story.
嗯,但是我暂时还不知道,是的,在这里。
CAPM It's abbreviated as the CAPM and I'm not going to do it justice here, I'm sorry, but there are so many ins and outs of this.
它的缩写是,我不打算在这做进一步阐释,不好意思,但是这里有很多值得深究的东西。
All right? So if I called sqrt alone, that return test value is done, but in this case I bound it to test, so I can go look at test, and there it is.
执行完返回值语句,但是在这里我将把它赋值给,所以当我看test的值的时候就是返回的值。
I don't exactly know where they are in RAM, but I know if I've got 2 gigabytes of RAM, zero is here, byte 1 is here, byte 2 is here, dot, dot, dot so maybe byte 123 is over here and 456 is here.
我不知道他们在内存中哪个地方,但是我知道如果我有2G内存,零在这里,字节1在这里,字节2在这里,等等等,所以可能123字节在这里,456字节在这里。
But here I want it to be determined, chosen at run time.
但是在这里我想要让它是一个由运行时间。
Remember last time, I said that there's different kinds of complexity in our code, and I suggested for simple branching programs, the amount of time it takes to run that program is, in essence, bounded by the number of instructions, because you only execute each instruction at most once.
但是这里有个很重要的点,记得上节课,我提过在我们的代码中,有不同种类的复杂度,而且我还说了对于简单的分支程序,运行这种程序需要的总体时间,大体上,是和指令的数目相关的,因为每个指令只会被执行最多一次。
应用推荐