temp This thing is going to be called temp and what are we putting there?
这个东西被叫做,我们把什么放在里面?
tmp The idea was to make a copy of res and temp.
也就是。
I'm going to call it temp and it doesn't matter where it ends up but conceptually it's in this frame.
我把它称作temp,不管它以什么结束都无所谓,它这个框框里。
foo So everything is literally going back to back to back and so foo, similarly, if you have any local variables, like temp, it then goes here.
所以所有东西都背靠背紧邻着,所以对于,类似的,如果你有任何局部变量,像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,所以现在我交换这些值。
应用推荐