文件名称:2
介绍说明--下载内容均来自于网络,请自行研究使用
2. 堆栈与单向链表非常相似,但它只允许在链的头部进行插入结点或删除结点的操作。请设计一个整数的堆栈。包括以下函数:建立堆栈,释放堆栈,将一个整数压入堆栈,将当前栈顶的整数弹出栈,返回当前栈顶的元素值,判断当前栈是否为空,自顶向下显示堆栈中的元素。-2 Stack and singly linked list is very similar, but it only allows to insert the head of the chain, or delete nodes node operation. Please design an integer stack. Includes the following functions: to establish the stack, the release stack, an integer onto the stack, the current stack integer popped, returns the current value of the element stack to determine the current stack is empty, the top-down elements in the stack display .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2\2.cpp
2