Instead if we want this pointer to represent the address of something in as much as it points at that address let's just draw an arrow.
如果我们想要让这个指针表示,数据的地址,它指向的地址,我用一个箭头表示。
The proper way to draw a vector is to draw an arrow that's got a beginning and it's got an end.
画矢量的正确方法是,画一个有起点和终点的箭头
So, for the most part any time we talk about or draw pointers an arrow suffices, which really 71 in there is a number like 71, which is the literal byte that the F is actually in in RAM, but frankly who cares?
所以,每次我们讨论,或者用箭头表示指针,在指针里面有一个数字,如,那是F在RAM中的字节,但是谁在乎它呢?
When I draw something without an arrow, I'm talking about the magnitude.
如果我写下的字母没有箭头,那就说明我在讨论模长
Now, you realize that... By the way, when you draw a vector like A, you're supposed to put a little arrow on top.
现在,大家应该发现...,顺便提一下,当你画了一个矢量,比如 A 时,上面要加个小箭头
I'm going to delete that arrow and actually draw s2 as pointing to this chunk of memory because whereas before this sequence of chars might have lived at address 71 or whatever, well, this one might live at 91.
我不会把那个箭头删除,实际上我画了s2作为,这块内存的指针,因为,这个字符序列存储在地址71或其它的地方,这个可能存储在91的地方。
You can draw the arrow corresponding to A.
你可以先画一个表示 A 的箭头
应用推荐