• And the point of this is so that you don't come to class heads down the whole time thinking everything I say is absolutely worthy of being written down.

    这样做的意义在于你不必,从头到尾考虑,所说的都记录下来。

    哈佛公开课 - 计算机科学课程节选

  • All right, I've got to do one pass to bubble the last element to the end. I've got to do another pass to bubble the second last element to the end.

    好的,我要冒一次泡来,最大的元素冒到最后,还得再冒一次泡来吧第二大的元素。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Yeah, if my machine will come back up, there we go. So, I'm going to now go ahead and write a little piece of code, and I put it here and I hope you can actually see these better this time, let me uncomment that region.

    们写出代码来吧,好,如果的电脑能回来的话,好了,那么,我要去写一小块代码,它放在这里以期望大家这次,能看的更清楚点。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • That means starting at the first one, I'm going to do something to it. And what am I'm going to do? I'm going to take that character, convert it back into an integer, and add it into some digits. And I've done a little short hand here, which is I should have said some digits is equal to some digits plus this.

    这意味着从第一个字符开始,我要对他们进行一些操作,我要去做什么呢?我要取得这个字符,然后它转换为整数,然后加到某些数上面,在这里用了一些缩写,本来应该写一个数字等于这个数字。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But there's an important thing going on here, if I in fact wanted to combine those into a string I should have told the machine to do that, and I can do that, by explicitly saying, take that, which is a number, then add it to that string.

    但是这里有个很重的事情,实际上想这些加到一个字符串里面,应该告诉计算机做这个,应该这么做,通过明确的输入,也就是这个对象,一个数字,然后它加到一个字符串里面

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And if I were to use that again, I'd just put it on your handout, I could go back and rewrite that thing that I had previously for finding the square roots of the perfect squares, just using the FOR loop. OK. What I want to do, though, is go on to-- or, sorry, go back to - my divisor example.

    它可以是任意的集合,如果要去用这个方法的话,它放在你们的课堂手册上的,可以回过头用FOR循环,重新写们那个求平方数的程序,做的是,是继续-哦抱歉,回到-的除数那个例子。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定