文件名称:栈类
介绍说明--下载内容均来自于网络,请自行研究使用
栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进者先出,即最后被存入的数据将首先被取出。其形式很象一种存储硬币的小容器,每次只可以从顶端压入一个硬币,而取出也只可以从顶端进行,即后进先出。 这样的数据存储和管理形式在一些程序设计中很有用。例如,编译系统中(这是一类比较复杂的程序),对于函数调用的处理、对于表达式计算的处理,都利用了栈这样的数据结构。- The stack (stack) is in the programming process frequently
meets the vitality one kind of construction of data form under, it has
such characteristic regarding data depositing and the operation: 1) it
only has a logarithm according to the port which carries on stores and
takes out; 2) less advanced first leaves, namely finally the data
which will store first is taken out. Its form looks like one kind of
memory coin very much the small container, each time only may press in
a coin from the peak, but takes out also only may carry on from the
peak, namely less advanced first leaves. Such data storage and the
management form are very useful in some programmings. For example, in
the compiling system (this is a kind of quite complex procedure),
transfers processing, regarding expression computation processing
regarding the function, all has used the stack such construction of
data.
meets the vitality one kind of construction of data form under, it has
such characteristic regarding data depositing and the operation: 1) it
only has a logarithm according to the port which carries on stores and
takes out; 2) less advanced first leaves, namely finally the data
which will store first is taken out. Its form looks like one kind of
memory coin very much the small container, each time only may press in
a coin from the peak, but takes out also only may carry on from the
peak, namely less advanced first leaves. Such data storage and the
management form are very useful in some programmings. For example, in
the compiling system (this is a kind of quite complex procedure),
transfers processing, regarding expression computation processing
regarding the function, all has used the stack such construction of
data.
相关搜索: 表达式计算
(系统自动生成,下载前可以参看下载内容)
下载文件列表
栈类.txt