If you really want to be obnoxious, you can do this because really these operators just undo themselves, right?
如果你的确有点反感,你可以这样做,因为这些操作符可以撤销它们自己,对不?
So even though we're not literally throwing RAM away, we're not physically moving anything, conceptually, we have to go through memory in this order back to back to back and then undo it.
即使我们没有把内存依次扔掉,我们物理上没有移动任何东西,概念地,我们必须按照顺序经过内存,回到这里然后撤销它。
We'll pull back that layer before long.
我们不久后会撤销那一层。
And so if we wanted to do this here, it's again, the same thing we're just now pulling back this layer and calling them char *s not actually strings.
如果我们想要在这里这样做,再次,我们撤销这一层,把它们叫做char,*s,实际上不是字符串。
> David: Yes, if you really, if you want to reimplement the solution from last where whereby it was buggy, you can absolutely say take the address of x then go there, thereby undoing all of the work you just did.
>,大卫:是的,如果你的确,如果某个地方有bug,你想要重新,实现那个解决方案,你绝对可以通过x的地址,定位到那里去,然后撤销你刚做的所有工作。
应用推荐