Y Why don't I say int temp gets X. Let's say Y oh, sorry, X gets Y and then Y gets temp, this 2 would fail.
为什么我不说明,int,temp,=,X,让我们说明,哦,对不起,X=Y,然后,Y=temp,这两行将失败的。
The temperature though at two is the same as it was at one, T1 so it's still a temp at T1, and this temperatures is at T2.
但是2和3的温度,是相同的,这是,这是T2,。
temp temp There's temp.
很简单。,Well,,temp,is,easy。,那里是。
I'm going to call it temp and it doesn't matter where it ends up but conceptually it's in this frame.
我把它称作temp,不管它以什么结束都无所谓,它这个框框里。
In temp. So that means at the end of that first line of code just as before the value of 1 ends A up in a variable called temp because we said go to A and I look around, oh, there's A, what's there?
在temp中,在第一行代码的末尾,值1最终到了叫做temp的变量中,因为我们指明了定位到,并且四处查看,哦,这里是A,里面是什么?
Y He's not returning A or B or temp, and definitely not X or Y; so he just did all of this work and yet that's it.
他不会返回A或B或temp,肯定也不是X或;,所以他刚才做了所有的工作,就是那样。
So this thing here that starts with slash temp, that's pretty useless information.
错误信息从/tmp开始,其实这是无用信息。
Well, what's in temp?
好的,temp里是什么?
It's reasonable because it's meant TMP for temporary purposes just to call it temp or T-M-P for short, X and I can define temp as -- why don't I set it as equal to X, initially, because now that I've stored X in a separate chunk of memory, I can now change its value and then I can say Y gets, not X, but temp, and so now I've actually swapped these values.
这是合理的,因为它是为,暂时的目的,只要叫它Temp或简称它为,我可以定义temp为--为什么我不把它设定为等于,最初的,因为现在我把X存储在一个单独的内存块中,我现在可以改变它的值,然后我说Y等于,不是X,而是temp,所以现在我交换这些值。
应用推荐