• Well, it turns out on most computers an address of the location and memory, aka a pointer, is itself 32 bits.

    好的,它是一个计算机内存地址,或者说一个指针,占32位。

    哈佛公开课 - 计算机科学课程节选

  • So, you know, we've got a bunch of juicy topics to dive into this week involving pointers and memory.

    这周我们有很多有趣的主题,包括指针内存

    哈佛公开课 - 计算机科学课程节选

  • Which may take up some arbitrary amount of memory. In that case, I'm back to this problem.

    然后将接下来的每一个内存块设置为,指向数组对应元素值的指针

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Or another way of thinking about it, is remember I said when I call that class definition it creates an instance, that's a pointer to some spot in memory that's got some local information around it.

    也就是一个指向,内存中某处的指针,这个地方存有一些,这个实例的信息,浅意义的相等也就是说,看看这两个东西是不是。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But we said earlier that, you know, we're going to get - to the point where we want to have a lot of pieces of -- a lot of variables in memory, maybe 140,000 dictionary words for some future peace set, but we don't want to enumerate line by line by line 140,000 variables.

    但是我们之前说过,你们知道的,我们将获得,有很多块--很多变量的内存指针-,可能有140,000个单词的集合,但是我们不想一行行地列举,140,000行变量。

    哈佛公开课 - 计算机科学课程节选

  • Yeah, a pointer to this chunk of memory.

    是的,一个指向这块内存指针

    哈佛公开课 - 计算机科学课程节选

  • Well, int is almost always 32 bits at least so far as we've seen so, in fact, any time I draw a pointer hence force I'm just going to draw a square as well because they are, in fact, the same size usually in memory.

    嗯,int几乎总是32位的,至少我们至今所看到的是这样的,每次我用一个正方形表示一个指针,因为实际上他们,在内存中的大小是一样的。

    哈佛公开课 - 计算机科学课程节选

  • Once I've got that, I can now start giving some variable names, sorry not, rephrase that, I can give some attributes, I can give some characteristics to these classes.

    还有个指向内存中地址的指针,我还可以命名这个指针,因此cp1和cp2都是,指向它们的指针,一旦我创建了它类,我就可以开始赋予。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • 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的地方。

    哈佛公开课 - 计算机科学课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定