正在加载图片...
Chapter 4 Data Structure 4.2 Stacks The situation is complicated by the fact that the procedure may itself request the execution of another procedure, which may request still another, and so on(Figure 7.9). Consequently, the return locations being remembered begin to pile up. Later, as each of these procedures is completed, execution must be returned to the proper place within the program unit that called the completed procedure. A system is therefore needed to save the return locations and later retrieve them in the proper order 如果一个被调用的过程本身还要调用其他过程,而那些过程 同样也需要调用另外的过程,这样一来整个情形就会很复杂。 因此,返回地址的记忆就开始堆积。然后,当每一个过程都 结束后,操作必须返回到被称为完成过程的程序块中的合适 位置。因此,系统需要按照适当的顺序存储和找回返回地址。 计算机专业英语 4-13Chapter 4 Data Structure 计算机专业英语 4-13 The situation is complicated by the fact that the procedure may itself request the execution of another procedure, which may request still another, and so on (Figure 7.9). Consequently, the return locations being remembered begin to pile up. Later, as each of these procedures is completed, execution must be returned to the proper place within the program unit that called the completed procedure. A system is therefore needed to save the return locations and later retrieve them in the proper order. 如果一个被调用的过程本身还要调用其他过程,而那些过程 同样也需要调用另外的过程,这样一来整个情形就会很复杂。 因此,返回地址的记忆就开始堆积。然后,当每一个过程都 结束后,操作必须返回到被称为完成过程的程序块中的合适 位置。因此,系统需要按照适当的顺序存储和找回返回地址。 4.2 Stacks
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有