• And then your hostess walks in with the turkey in a tray, and says, "I killed the last cockroach."

    然后主人用托盘托了一只火鸡进来说,我刚刚把最后一只蟑螂拍死了“

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

  • Well, if that function calls another function, you put another tray on, and so that new tray represents that function's chunk of memory.

    好的,如果那个函数调用另一个函数,你再放一个托盘在上面,新的托盘代表,那个函数的内存块。

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

  • If you think of these kind of like trays in a cafeteria, right, that are kind of upside down, and by default, they're stacked from the floor on up and up and up.

    如果你想象这种自助餐厅的托盘,对的,那有点混乱的,默认的,它们从地板开始往上堆起来。

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

  • Well, if you want to call a function, it's like putting another tray on that stack of trays and that tray represents a chunk of memory that, that function can use.

    嗯,如果你想调用一个函数,这就像把一个托盘放到另一个托盘上,托盘代表一块,函数可以使用的内存。

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

  • I intentionally used this very common analogy of a stack of trays in a cafeteria.

    我故意使用这个普遍的类比,就像,自助餐厅的一堆托盘

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

  • But as soon as the most recently called function finishes executing, you have to take that tray off the stack in order to get at the previous function's memory, and once he's done executing, you have to take that one off and then what's left well then main.

    但是,一旦新的调用函数结束了执行,你必须从堆中把托盘拿掉,用来获得先前函数的内存,一旦他完成执行,你必须把那一块拿下来,然后剩下的是main函数。

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

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

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

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