• In Portland,Oregon, Jon Van Oast and Megan Kelley invited twelve friends to a Soup Swap.

    VOA: special.2010.11.22

  • Once each time. Right? I only do one swap potentially, it-- though not one potentially, each time at the end of the loop I do a swap.

    每次循环做一次,对么?我其实,就可能做了一次交换,也许并不是可能,每次循环的结束我都得做一次交换。

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

  • swap I'm going to keep track of a little variable called swap, it's initially true, and as long as it's true, I'm going to keep going, but inside of the loop I'm going to set it to false, and only if I do a swap will I set it to true.

    我打算跟踪一个小的变量称为,初始值为真,只要它是真的,算法就会继续,但是在循环里,我打算把他设为假,除非交换发生,就把它设为真。

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

  • The two heads of states are also expected to discuss Egypt's efforts to mediate a prisoner swap between Israel and Hamas.

    VOA: standard.2009.09.13

  • So, a couple of weeks ago we proposed to swap two integers, and we couldn't at the time.

    那么,几周前,我们提出交换两个整数,然而在那时,我们办不到。

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

  • He said the only thing holding up a prisoner swap is what he described as the "stubbornness of the Zionist occupation."

    VOA: standard.2009.10.03

  • I remember when interest rate swap accounting was done on a different market security basis.

    我记得利率会换记账法,在不同的证券市场施行时。

    斯坦福公开课 - 经济学课程节选

  • Earlier this year,those two countries tried to negotiate a nuclear fuel swap deal with Iran.

    VOA: standard.2010.07.28

  • And what happens the moment I call swap, as I said earlier, you get a copy of the inputs.

    当我调用swap时会发生什么,之前说过的,你得到一个输入。

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

  • He was released in a U.S.-Soviet spy swap after serving 21 months.

    VOA: standard.2010.05.07

  • It's in a file called swap.C. Everything should be alphabetical so it should be toward the end of this week's packet and notice that it's almost identical except for a couple of syntax changes.

    在一个叫做swap。c的文件中,对于这周末的数据包来说,所有的东西都是字母,请注意,除了几个语法改变,它几乎是一样的。

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

  • The prisoner swap is a source of hot debate in Israel.

    VOA: standard.2009.03.15

  • Now if you call a function, swap like increment or cube or swap, or in this case, foo, those variables are the parameters to that function, end up getting stored next in memory.

    现在如果你调用一个函数,像increment或者cube或者,或者在这个例子里,foo,这些变量都是,函数的参数,在内存中存储。

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

  • In a statement to the media, he said Israel and Hamas are "not on the brink of a deal" and that he fears negotiations on a prisoner swap could take years.

    VOA: standard.2009.10.03

  • int A Well, one, function has called swap, takes one int called A, printf followed by another int called B, and as we've seen with print F, if you have multiple arguments, you separate them by commas.

    好的,函数叫做swap,一个参数是,另一个参数是int,B,我们看到的,如果你有好几个参数,把它们用逗号分开。

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

  • This code does swap the two values, A and B. However, when I run this program, something happens.

    这个代码没有交换那两个值,A和B,但是,当我运行这个程序时,有些事情发生了。

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

  • So A gets 1, B gets 2, now the swap function itself starts executing line by line; so I declare a chunk of memory called temp.

    所以A等于1,B等于2,现在swap函数自己开始,一行一行地执行,所以我声明了,叫做temp的一块内存。

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

  • X So here I'm declaring another variable called X, and this is totally legitimate because I already know that if I'm implementing a function like swap or increment, I can absolutely take input.

    这里我声明另一个变量,这个完全是合法的因为我已经知道,如果我执行一个像swap,或,increment的函数,我完全可以携带输入。

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

  • 5 6 1 2 3 So it's 4, 5, 6 comma 1, 2, 3 that are passed into swap and that's why those same numbers end up in A and B. Yeah?

    所以这里是,这就是为什么这些数字最终在a和b中,请说?

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

  • So swap, as promised earlier, is a function.

    所以swap,正如之前所承诺的,是一个函数。

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

  • So this is version two of the swap function and, in fact, it is almost identical, this is before, this is after, before, after and it looks like the solution to this problem that we've been revisiting a couple of times now is just to do what?

    这个swap函数的第二个版本,实际上,这几乎是一样的,这是之前的,这个之后的,之前的,之后的,这看起来像是这个问题的解决方案,我们一直多次访问它,目的是什么呢?

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

  • It's a program called swap.

    它是一个叫做swap的程序。

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

  • Indeed, swap in your printout there is just defined as now taking *a and *b and then it also uses the * later, but we'll come back to what the different uses of the * means, but for now I claim conceptually it just means swap has access to the locations of its parameters.

    的确,在打印资料中的swap被定义为,携带*a和*b,之后它也是带*号的,但是我们将说明*的不同用法,现在,我断言swap可以,使用参数的地址。

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

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

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

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