• What happens now after we've executed this third line of code, what happens next in the story?

    我执行完第三行代码会发生什么呢,在这之后会发生什么呢?

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

  • Well I ought to be able to do that by simply generalizing the loop. And that's what the next piece of code on your a hand out shows you.

    好的通过生成这个循环,我应该能够达到目的,这也是你们的讲义中下一段代码。

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

  • Well, the first line of code, I'll fix the purple next time around so it's more legible.

    第一行代码,我用紫色标记,这样增加了可读性。

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

  • This seems a little weird, but bear with me for second, in fact, I've given you a little piece a code to do it, which is the next piece of code on the hand out.

    这看起来有点奇怪,但是先听我说,实际上我给了你们一段做这件事的代码,就是发给你们的纸张的下一段。

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

  • So the next little piece of code I've written here, just move down to it slightly.

    好,我可能想做的一件事情是,这两个点是不是同一个点呢?,因此我在下面写的。

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

  • You can imagine having many lines of code where all of a sudden your closed quote is on the next line all the way on the left.

    你可以想象一下,这有很多行代码,突然一个后引号,移到下一行最左边。

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

  • Because as you'll soon find, when you're writing programs 0 that aren't just four lines long but are 40 or 400 which very quickly becomes easy, you'll find that even you the next morning have no idea what this code does for whatever reason, and just having some English comments is a huge boon to comprehension for yourself and others.

    你们自己写程序时就会发现,用40行甚至400行代码来代替繁杂拥挤的4行代码0,将会让事情简化许多,你会发现,即使由于某些原因,你不知道如何写代码,先写些注释,于人于己,都是好事,易于理解嘛。

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

  • include stdio h The next line of code says include standard io.h which just as a little sanity check contains among other things, printf.

    接着的一行代码写着,这个库文件包含一些我们常用的函数,譬如,printf函数。

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

  • OK, let me comment this out, and let's look at this next little piece of code. All right.

    好,让我添加一点注释,然后让我们看看,下面的一些代码,好。

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

  • Well let's look at the next piece of code.

    我们来看看下一段代码。

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

  • And what we'll be doing is, early next week we'll be distributing code, which we'll ask you to study, about two or three pages of code, and then on the final we'll be asking you questions about the code.

    我们现在要做的就是,在下周前半部分我们会发一些代码,给你们去研究,大概有两三页纸,然后在期末的时候,我们会问你一些有关代码的问题。

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

  • And what it's saying semantically is, using that variable as my placeholder, have it walk through this collection, starting at the first thing, execute that code, then the next thing, execute that code, and so on.

    它的语义意思就是,把这个变量应用为我的占位符,用它来遍历这个集合,从第一个元素开始,执行代码,然后下一个元素,再执行代码。

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

  • So don't underestimate the value for the next week or two of just inserting printf statements into your code temporarily just to print out what the value of some variable is, or some expression is, so that you can just do a sanity check.

    所以不要低估下一两周的重要性,虽然我们只将“printf“语句暂时地植入到,我们的代码中,只是用来打印一些,变量或表达式的值,所以你们提醒一下自己。

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

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

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

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