• One of the advantages of this is, that I don't have to worry about explicitly updating my variable. That happens for me automatically.

    这样继续下去,这样做的一个优点是,我不用为更新变量来发愁了,程序会自动的为我进行这个操作,这一点很好。

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

  • I've decided that I need to be able, in my program, to swap the value of two variables. All right.

    我觉定在我的程序中,我可以,交换两个变量值,好的。

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

  • But it's a valuable thing. It says, in each case, I return some useful value from this procedure.

    但是这就是变量,是在每个例子中,我从这个程序中返回了一些有用的值。

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

  • So in fact, it is the case, if you look at data, and by the way, that's the way I ended up setting a lot of these parameters and playing with it, was comparing what my simulation said to historical stock data.

    所以实际上,在这个例子中,如果你看到数据,顺便说一下,这就是我设置很多变量,然后编程的方式,也就是把我的仿真程序得到的结果,和历史股票数据进行比较。

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

  • We decrement so to speak the variable and then where will we go next in terms of the flow control, the flow of this program.

    可以这么说,我们递减这个变量,然后按照控制流,即程序流进入到下一语句。

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

  • Right. We're not going to have 140,000 variables in my program.

    对的,在我的程序中没有140,000个变量

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

  • So I start this program by declaring as I did before a global variable X. It is global simply because it is not inside any of my functions.

    程序的开始,我声明,一个全局变量X,它是一个全局的,因为它不在任何一个函数里面。

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

  • i So I have up here at the top of my program a variable called i 0 of type int, and I have to initialize it up here to zero.

    所以在程序的顶端我有一个int类型的变量,我需要把它初始化为。

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

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

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

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