; 得到地址,并把字节地址(byte address)转换成字地址(word address)的形式 ;*********************************************************************
基于282个网页-相关网页
那是用户输入的第一个字节在内存中堆的地址。
That is the address in memory in the heap of the first byte that the user typed in.
每个编号都是相应字节的地址。
MAC地址里每个字节都用冒号(:)或连字号(-)分开。
Each byte in a MAC address is separated by either a colon (:) or a hyphen (-).
Just the first one or more generally the address of the first one and then, man, I'll just figure it out from there where the rest of the letters are because by definition of a string, they're back to back to back.
只需要第一个字节的地址,然后,我可以指出之后的,剩下的字母,因为通过一个字符串的定义,它们是紧邻的。
That is the address in memory in the heap of the first byte that the user typed in.
那是用户输入的字符串第一个字节,内存中堆的地址。
So it does that for us so that you can get away with just knowing the address of the first byte and it will make sure that you know when to stop by including the special value so, in fact, get the string if you type in a three-letter word, we allocate four bytes no matter what because we need an additional byte 0 for this special sentinel value back slash zero at the very end.
它为我们做了这些事情,这样我们就可以,通过第一个字节的地址,它还可以通过包含一个特殊的值,来保证在哪里停止,如果你输入了一个三个字母的单词,就可以获得那个字符串,不管怎样,我们分配四个字节,因为我们在末端需要一个额外的字节,来保存这个特殊的标志值--反斜杠。
应用推荐