• So at this point, now the code's getting a little more interesting, but it's also getting a little bloated.

    所以在这里,现在代码变得更有趣了,但是它也显得有点臃肿。

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

  • And for reference, incidentally, in case you ever forget what the point of some exercise was, I'll almost always comment the code up top with a quick sentence or two that reminds you what this program does.

    顺便作为参考,为了避免我们可能忘记一些代码的意思,我通常会用一两个简单的句子,在上面作出注释,那样会提醒我们这个程序是干嘛的。

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

  • I've got a little piece of code called same point.

    一小段代码,稍微往下一点。

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

  • And because there's nothing else in the code at that point, the program should just quit naturally in a good way. Yeah?

    因为在那个阶段的没有其它的代码了,这个程序将以一种比较好的方式自然地退出,请说?

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

  • > Okay. This code allocates two pointers which can point to integers.

    >,好的,这段代码分配两个指针,可以指向整型数。

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

  • > Okay. Well, this code allocates a new integer pointee and this part sets x to point to it.

    >,好的,呃,这段代码分配一个新的整型指针数据,这部分让x指向它。

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

  • If I go back to that code from a moment ago, and I just rerun math3, notice how many places printed after the decimal point -- two?

    如果刚才我回到那段代码中去,我们回到math3,请注意在小数点后面,会打印几位数呢--两位?

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

  • So I've got one more piece of bad code on this point and this is buggy five dot c. So as a comment on top bug of this file challenges, what is, in fact, the bug.

    所以我在这里得到了一块很烂的代码,这个是buggy5,c,所以作为这个文件顶端的注释,那实际上是那个。

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

  • I can either look at my flow chart, or I can look at the code. If I look at the flow chart, it says, I'm at this point. Look at ANS squared. Is it less than or equal to-- sorry, first of all, 0 ANS squared is 0, is it less than or equal to x, yes.

    我可以看流程图也可以看我的代码,如果我看流程图的话,流程图这么说的,在这一点,看看ANS的平方,看是不是小于等于-对不起,首先,ANS的平方是。

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

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

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

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