• 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

  • I then perform the swap.

    然后执行交换。

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

  • 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的一块内存。

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

  • Mr.Netanyahu said he will fly on Tuesday to Egypt, which has been mediating between Israel and Hamas on the prisoner swap.

    VOA: standard.2009.12.27

  • I look at the rest of the list to decide what's the element to swap into the next place.

    我会查看列表剩下的部分,来看看需要交换哪个元素。

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

  • Clinton said the international community recognizes that Tehran only chose to accept the fuel swap deal because it is facing imminent action in the U.N.Security Council.

    VOA: standard.2010.05.25

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

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

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

    VOA: standard.2009.03.15

  • 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.

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

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

  • 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

  • I'm reminded of the confirmation screen here and that's not too bad, then we put in the card and we click confirm and then finally we see the swap Then finally literally nine steps later the ticket comes out of the machine and then, frankly, had to go through the process of where to put the ticket in the machines.

    这里出现了确认画面,那还不是太坏,然后我们把卡插进去,点击确认,然后我们看到了那个,函数。,swap,function。,【笑声】然后最终经过9个步骤,票从机器中出来了,然后,需要找出从哪里,把票放到机器中去。

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

  • On Monday,Iran formally notified the IAEA of its response to the nuclear-fuel swap deal, under which it would ship some low-enriched uranium to Turkey in return for higher grade fuel for a Tehran research reactor.

    VOA: standard.2010.05.25

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

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

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

  • He said Ankara's decision to vote 'no' was also based,in part, on the timing of the announcement earlier Wednesday by the United States, France and Russia rejecting the fuel swap deal negotiated by Turkey and Brazil.

    VOA: standard.2010.06.09

  • In the second case, I found in the next smallest element and moved here, taking what was there and moving it on, in this case I would swap the 4 and the 8, and in next case I wouldn't have to do anything.

    在第二次遍历中,我找到了,第二小的元素,把它移到这里,把这里原来的元素移到哪里,在这一次遍历中,我会把8和4交换,然后一次遍历,不会做任何事情。

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

  • Mr.Netanyahu told the Cabinet one of the gunmen had been freed from an Israeli prison under an amnesty deal, highlighting the risks of an emerging prisoner swap with the Islamic militant group Hamas that rules the Gaza Strip.

    VOA: standard.2009.12.27

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

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

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

  • Just swap these two values for me and let me move on is the reasoning.

    只要帮我把这两个值交换,让我继续往下执行。

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

  • 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.

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

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

  • So when I said earlier that as soon as swap returns, all of the memory allocated for swap is now useless.

    我前面指明的,一旦swap返回,所有为swap分配的内存都是无用的了。

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

  • But the moment swap returns, the moment we hit this bottom most curly brace, what conceptually happens in memory?

    但是swap返回时,当我们抵达花括号底端是,在内存中发生了什么?

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

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

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

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

  • Now finally swap has the ability, the power, to modify memory that isn't his own, that's not in his own scope because we've passed it in by address.

    最终swap有能力,来修改不属于它的内存,不在它的作用域中,因为我们是通过地址传递的。

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

  • 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,这些变量都是,函数的参数,在内存中存储。

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

  • 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的文件中,对于这周末的数据包来说,所有的东西都是字母,请注意,除了几个语法改变,它几乎是一样的。

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

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

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

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

  • Well, simply with the * notation at least on the way in when you declare the function called swap, you simply say this is not going to take an int and another int because that's useless.

    好的,简单说,当你声明一个函数调用swap函数时,使用*符号,你可以简单说,这不能使用一个int数和另外一个int数,因为那是无效的。

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

  • We began here so at this point in the story the next thing that's going to happen is this line called Print F that says swap exclamation point, right?

    我们从这里开始,在这里,下一步将要发生了的事情是,这行叫做printf的代码,打印:“交换完成!“对不?

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

  • Inside of swap itself, I'm printing out the values, if temporarily.

    swap函数里,我打印出,它们的值,如果临时的。

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

  • I have to change the prototype of this function to say that swap no longer takes an int per se or another int per se, but rather it takes two pointers, two ints, and in fact, it's on the very last page if you're still flipping.

    我改变了这个函数的原型,来说明swap不再携带那两个int数本身,而是携带两个指针,两个整型数指针,实际上,它是在最后那页上。

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

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

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

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