-
实现堆栈先入后出的功能
堆栈是一种执行“先入后出”算法的存储器。数据一个一个顺序的存入(也就是压入——push)存储区中。有一个地址指针总是指向最后一个压入堆栈的数据所在的数据单元,存放这个地址的指针的寄存器叫做堆栈指示器。开始放入数据的单元叫做“栈底”,最后放入的数据的单元叫做“栈顶”。数据一个一个地存入,这个过程叫做“压栈”。在压栈的过程中,每有一个数据压入堆栈,就放在和前一个单元相连的后面的一个单元中,堆栈指示器中的地址自动加1。读取这些数据时,按照堆栈指示器中的地址读取数据,堆栈指示器的地址数自动减1,这个过程叫做“弹出——pop”。如此,就可以实现了“先入后出”的原则。
- 2022-02-14 16:34:28下载
- 积分:1
-
杭州电子科技大学ACM
杭州电子科技大学ACM-OJ系统的部分代码,对学习数据结构还有算法很有帮助-Hangzhou University of Electronic Science and Technology ACM-OJ part of the system code, data structure of the learning algorithm was also very helpful
- 2022-03-01 00:53:45下载
- 积分:1
-
用VC写的模拟内存分配管理的代码,经测试运行完全正确
用VC写的模拟内存分配管理的代码,经测试运行完全正确-VC write memory allocation management simulation code, the test run entirely correct
- 2023-01-07 01:40:03下载
- 积分:1
-
Binary Tree Application
二叉树应用-线索化二叉树遍历的源码以及实验报告!-Binary Tree Application- threaded binary tree traversal of the source and the experimental report!
- 2022-05-24 23:37:42下载
- 积分:1
-
VB网吧管理系统
VB网吧管理系统-VB Internet Management System
- 2022-03-05 18:05:17下载
- 积分:1
-
If it is found that the control has prompted unregistered, please run
如果发现有提示控件未注册,请运行"控件注册.bat"注册控件.-If it is found that the control has prompted unregistered, please run
- 2022-08-25 02:53:06下载
- 积分:1
-
回溯法的模板,关键是回溯的过程,以及在深搜过程中的方向问题...
回溯法的模板,关键是回溯的过程,以及在深搜过程中的方向问题-Backtracking template, the key is back process, as well as in the course of the deep question of the direction search
- 2022-06-15 15:31:48下载
- 积分:1
-
within the core vector machine has a detailed description
对核心内的向量机有详细的描述
- 2023-08-03 12:10:03下载
- 积分:1
-
这是程序是老师提供的源程序,其中包含了方程的离散等解法 值得一学习。...
这是程序是老师提供的源程序,其中包含了方程的离散等解法 值得一学习。-This is the program source code is provided by teachers, including the discrete equations method, etc. It is worth learning.
- 2022-01-25 14:33:52下载
- 积分:1
-
二叉树的动态链表存储结构及表示,二叉树的三种遍历算法(递归和非递归两类)运用二叉树三种遍历的方法求解有关问题...
二叉树的动态链表存储结构及表示,二叉树的三种遍历算法(递归和非递归两类)运用二叉树三种遍历的方法求解有关问题-Binary tree structure and the dynamics of linked list is stored, said three kinds of binary tree traversal algorithms (recursive and non-recursive types) the use of three kinds of binary tree traversal of the method for solving the problem
- 2022-04-11 18:58:18下载
- 积分:1