代码搜索:InitStack

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

代码结果 954
www.eeworm.com/read/455290/7373538

cpp sqstack.cpp

#include "SqStack.h" #include #include Status InitStack(SqStack &s) { s.base = ( SElemType * )malloc(STACK_INIT_SIZE*sizeof(SElemType)); if(!s.base) return OVERFLOW; s
www.eeworm.com/read/441840/7664090

cpp bo3-1.cpp

void InitStack(SqStack &S) { if(!(S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType)))) exit(OVERFLOW); S.top=S.base; S.stacksize=STACK_INIT_SIZE; } void DestroyStack(SqStack &
www.eeworm.com/read/329457/12954233

c shiyan3.c

#include #include #include #include #define M 100 typedef struct{ int top; int elem[M]; }sqstack; sqstack *s; initstack(sqstack *s){ (*s).to
www.eeworm.com/read/318866/13468517

txt migong.txt

#include #include #define STACK_INIT_SIZE 100 typedef struct {  int *base;  int *top;  int stacksize; }sqstack; int initstack(sqstack *s) {   s->base=(int *)malloc(ST
www.eeworm.com/read/263618/11352488

cpp houzhuishi2.cpp

#include #include #define Max 30 #define Increase 10 typedef struct{ char *base; char *top; int stacksize; }Sqstack; void initStack(Sqstack &S){ S.base=new char[M
www.eeworm.com/read/208858/15234031

c pi.c

/*Calculate the value of PI. Takes a long time!*/ #ifndef WIN32 int InitStack[128]; //used by boot.asm void putchar(char ch) { *(int*)0x20000000 = ch; } void OS_InterruptServiceRoutine(unsigned
www.eeworm.com/read/187225/8840203

cpp evaluateexpression.cpp

#include #include double *OpndBase,*OpndTop; //定义元素类型 char *OptrBase,*OptrTop; //定义元素类型 void InitStack() //初始化栈 { OpndBase=new double[100]; OptrBase=new char[100];
www.eeworm.com/read/165769/10051986

cpp bo3-1.cpp

Status InitStack(SqStack &S) { if(!(S.base=(SElemType*)malloc(STACK_INIT_SIZE*sizeof(SElemType)))) exit(OVERFLOW); S.top=S.base; S.stacksize=STACK_INIT_SIZE; return OK; } Status Dest
www.eeworm.com/read/359985/10112730

cpp main.cpp

//Main.cpp #include"Def.h" #include"Function.cpp" void main() { int i,j; Status k; SqStack s; SElemType e; k=InitStack(s); if(k==OK) cout
www.eeworm.com/read/275098/10835650

c trans_num_to_stack.c

#include"stdio.h" #include"stdlib.h" #define null 0 #define n 10 struct stack{ int *base; int *top; int stacksize; }; void initstack(struct stack *s) { s->base=(int*)malloc(20*si