代码搜索:InitStack

找到约 954 项符合「InitStack」的源代码

代码结果 954
www.eeworm.com/read/115687/15004716

h stack_mg.h

struct Mi_Gong { char Pass; //通不通 int mx; //横坐标 int my; //纵坐标 int NumPort; //路口数目 int PassTimes; //通过次数 }; //迷宫的性质 struct Stack { Mi_Gong* stack; short top; short
www.eeworm.com/read/115447/15014071

c 习题-33.c

//本程序只给出了算法思想 //读者可以自己完善本程序 void PreOrder_Nonrecursive(Bitree T)//先序遍历二叉树的非递归算法 { InitStack(S); Push(S,T); //根指针进栈 while(!StackEmpty(S)) { while(Gettop(S,p)&&p) { visit(p->data);
www.eeworm.com/read/212828/15148471

c 习题-33.c

//本程序只给出了算法思想 //读者可以自己完善本程序 void PreOrder_Nonrecursive(Bitree T)//先序遍历二叉树的非递归算法 { InitStack(S); Push(S,T); //根指针进栈 while(!StackEmpty(S)) { while(Gettop(S,p)&&p) { visit(p->data);
www.eeworm.com/read/103992/15715221

h stack.h

#ifndef STACK_H #define STACK_H #include "DataTypes.h" typedef struct { PosType storage[1000]; int top; } Stack; extern void Push(Stack *stack, PosType seat); extern PosType Pop(Stack
www.eeworm.com/read/430600/8737760

cpp 10to8.cpp

#include #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 typedef struct{ SElemType *base; SElemType *top; int stacksize; }SqStack; Status InitStack(SqStack &S){ S.base=(SE
www.eeworm.com/read/180907/9280002

txt 顺序栈的应用.txt

3. 初始化一个顺序栈,编制实现入栈一个元素和出栈一个元素的程序。 #include "malloc.h" #include "stdio.h" #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 typedef struct{ int *base; int *top; unsigned int stac
www.eeworm.com/read/169403/9863725

s reset.s

;/* ;********************************************************************************************************* ;* 文件: Reset.s ;* 描述: 完成上电时的部分必要设置. ;* 编写: 深思 (001-12345@sohu.com). ;***************
www.eeworm.com/read/362558/9992528

c 7.13.c

int ve[MAX_VERTEX_NUM]; /*每个顶点的最早发生时间*/ int TopoOrder(AdjList G,Stack *T) /* G为有向网,T为返回拓扑序列的栈,S为存放入度为0的顶点的栈*/ { int count,i,j,k; ArcNode *p; int indegree[MAX_VERTEX_NUM]; /*各顶点入度
www.eeworm.com/read/362558/9992589

c 7.11.c

int TopoSort(AdjList G) { Stack S; int indegree[MAX_VERTEX_NUM]; int i,count,k; ArcNode *p; FindID(G,indegree); /*求各顶点入度*/ InitStack(&S); /*初始化辅助栈*/ for(i=0;i
www.eeworm.com/read/280698/10298856

cpp 进制转换.cpp

// 进制转换.cpp : Defines the entry point for the console application. // #include "stdio.h" #include "stdlib.h" #include "iomanip.h" #include "seqstack.h" /*#define STACK_INIT_SIZE 100 #define S