代码搜索:InitStack

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

代码结果 954
www.eeworm.com/read/104402/15695771

cpp 停车场.cpp

#include #include #include #define StackSize 8 typedef struct {char Car_number[StackSize][10]; int top; }SqStack;//定义栈的结构 void InitStack(SqStack &S)//初
www.eeworm.com/read/165768/10051990

cpp test2.cpp

#include"head.h" #include #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 Status InitStack(SqStack &S){ //初始化栈 S.base=(BiTree *)malloc(STACK_INIT_SIZE * sizeof(BiTree));
www.eeworm.com/read/466193/7040651

cpp sqstack.cpp

#include #include "ds.h" #include "SqStack.h" Status InitStack(SqStack &S) { S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType)); if(!S.base) exit(OVERFLOW); S.top=S
www.eeworm.com/read/441840/7664087

cpp main3-1.cpp

#include "c1.h" typedef int SElemType; #include "c3-1.h" #include "bo3-1.cpp" void print(SElemType c) { printf("%d ",c); } void main() { int j; SqStack s; SElemType e; InitStack(
www.eeworm.com/read/115687/15004712

cpp stack_mg.cpp

#include #include #include"Stack_Mg.h" void stack::InitStack(Stack& S,int ms) { S.stack=new Mi_Gong [ms]; if(!S.stack) { cerr
www.eeworm.com/read/150150/12309180

cpp 停车场管理系统.cpp

#include"car.h" status InitStack(sqstack &s,int n) { s.base=(LelemType)malloc(n*sizeof(elemType)); if(!s.base) exit(OVeRFLOW); s.top=s.base; s.stacksize=n; return OK; } status Pu
www.eeworm.com/read/171606/9745282

cpp 行编辑.cpp

#include"stdio.h" #include"malloc.h" #define SIZE 20 typedef struct{ char *base; char *top; int stacksize; }stack; InitStack(stack &s) // 建栈函数,实现建立栈的功能 { s.base=(char *)malloc(S
www.eeworm.com/read/456713/7340408

txt calculation.txt

}SqStack; void InitStack (SqStack &S) { //构造一个空栈s S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType)); if(!S.base) exit (-1); S.top=S.base; S.stacksize=ST
www.eeworm.com/read/471900/6304445

cpp a.cpp

#include typedef struct{ char *base; char *top; int stacksize; }Sqstack; int initstack(Sqstack &s){ s.base=new char[100]; if(!s.base)return 0; s.top=s.base; s.stacksize=10
www.eeworm.com/read/405906/11455161

c main.c

#include"global.h" void initstack() //栈的初始化操作 { expstack.top=0; } int push(int e) //栈的插入操作 { expstack.data[expstack.top]=e; expstack.top++; return e; } int pop()