I then insist, okay, swap, and then I print out their values again.
我再强调,好的,交换好了,然后我再打印出,它们的值。
Inside of swap itself, I'm printing out the values, if temporarily.
在swap函数里,我打印出,它们的值,如果临时的。
X That's just the special symbol in C that says don't pass X, that is don't pass a copy of X. Rather figure out where x is in memory, where he is in that frame and provide swap the numeric address in RAM of that value so that swap can go do anything it wants at that address.
这在C中是一个特殊的符号,指明不传送,也不是传递X的拷贝,而是指出x在内存中哪个地方,它在那个框架中的哪个地方,提供给swap它的地址值,这样swap就可以使用那个地址中的数据。
And now the point just to tease apart, I can't erase that, let's fix, so now the one detail that's worth pointing out is * that this here the * in swap's prototype and the * here in swap's prototype do not mean go there.
现在我们要梳理一下,我不能清除那个,让我们修正一些,需要指出的一个细节是,在swap原型中的,意思不是定位到那个地方。
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个步骤,票从机器中出来了,然后,需要找出从哪里,把票放到机器中去。
应用推荐