登录
首页 » 数据结构 » 栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进...

栈(stack)是程序设计过程中经常遇到朝气一种数据结构形式,它对于数据的存放和操作有下面这样的特点: 1) 它只有一个对数据进行存入和取出的端口; 2) 后进...

于 2023-08-22 发布 文件大小:2.93 kB
0 215
下载积分: 2 下载次数: 1

代码说明:

栈(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), transfe

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SDL
    基于SDL的关于二叉树计算的源代码,是TXT的一些程序-SDL-based binary tree calculated on the source code, are some of the procedures TXT
    2022-02-04 02:12:41下载
    积分:1
  • 关于差分方程的一个程序,很简的二维椭圆方程,区域是1x1
    关于差分方程的一个程序,很简的二维椭圆方程,区域是1x1-differential equations on a procedure for the very simple two-dimensional elliptic equation, the region is 1x1
    2022-02-10 13:26:34下载
    积分:1
  • An instance of KingView 6.53, the small ball go elliptical orbit, suitable for a...
    一个组态王6.53的实例,小球走椭圆轨道,适合初学者参考。-An instance of KingView 6.53, the small ball go elliptical orbit, suitable for advanced users.
    2023-07-22 19:00:03下载
    积分:1
  • 2022-05-10 13:15:46下载
    积分:1
  • 模式识别matlab工具箱,包括SVM,ICA,PCA,NN等等模式识别算法,很有参考价值...
    模式识别matlab工具箱,包括SVM,ICA,PCA,NN等等模式识别算法,很有参考价值-pattern recognition Matlab toolbox, including SVM, ICA, PCA, NN pattern recognition algorithms, and so on, of great reference value
    2022-06-18 16:50:03下载
    积分:1
  • 数据结构——链表(双向循环链表)
    双向循环链表节点:数据域+指针域指针域:一个指针指向前一个同类型节点,另一个指针指向后一个同类型节点(1)设计节点struct db_node{int data;struct db_node * prev;struct db_node * next;};(2)创建空链表//创建了一个只有头节点的双向循环链表,返回头节点的地址struct db_node * create_db_list(void){struct db_node * phead = (struct db_node *)malloc(sizeof(struct db_node));if(phead == NULL)exit(-1);else{phead->next = phead;phead->prev = phead;}return phead;}(3)制造新节点//制造新节点,返回新节点的地址struct db_node * make_db_node(int value){struct db_node * pnew = (struct db_node *)malloc(sizeof(struct db_node));if(pnew == NULL)printf("malloc failed! ");else{pnew->data = value;pnew->next = NULL;pnew->prev = NULL;}return pnew;}(4)插入节点//把pnew指向的节点插入到头节点的前面,也就是整个链表的末尾bo
    2022-02-14 07:06:11下载
    积分:1
  • 自己做的 借书管理系统
    自己做的 借书管理系统-own library management system
    2022-04-12 10:10:51下载
    积分:1
  • 这几个是本人整理的.cpp程序,您可以借鉴参考
    这几个是本人整理的.cpp程序,您可以借鉴参考------>> dos前景背景色设置.cpp 二.八.十.十六进制转换程序的函数.cpp 二叉树的遍历.cpp 图形的广度优先搜寻法.cpp 图形的深度优先搜寻法.cpp 用C语言编的一个日历.c-these are my finishing. Cpp and you can draw reference--- gt; Gt; Dos prospects for the background color set. Cpp two. 8. 10. Hexadecimal conversion function. Cpp binary tree traversal. Cpp graphics priority to search for the breadth of France. Cpp graphics depth-first search of the law. Cpp C language compile a calendar. C
    2022-02-11 17:38:43下载
    积分:1
  • using c++ to write for ic design layout source routing tools used btree structur...
    用c++写的用于ic设计中布图布线的工具源码,采用btree结构,包含文档-using c++ to write for ic design layout source routing tools used btree structure, including documentation
    2022-03-22 21:38:36下载
    积分:1
  • 线索二叉树
    树结构之线索话二叉树,二叉树的存储结构,线索二叉树的构造。中序线索化,递归算法,非递归算法。
    2023-07-28 01:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载