代码搜索:Stack

找到约 10,000 项符合「Stack」的源代码

代码结果 10,000
www.eeworm.com/read/313546/13585059

class stack.class

www.eeworm.com/read/310869/13642041

h stack.h

// stack.h -- class declaration for the stack ADT typedef unsigned long Item; class Stack { private: enum {MAX = 10}; //constant specific to class Item * pitems; // holds stack items in
www.eeworm.com/read/310869/13642043

cpp stack.cpp

www.eeworm.com/read/310869/13642084

h stack.h

// stack.h #ifndef STACK_H_ #define STACK_H_ typedef struct customer Item; struct customer { char fullname[35]; double payment; }; class Stack { private: enum { MAX = 10 }; // Stac
www.eeworm.com/read/310869/13642085

cpp stack.cpp

// stack.cpp #include #include "stack.h" Stack::Stack() { top = 0; } bool Stack::ismpty()const { return 0 == top; } bool Stack::isfull()const { return top == MAX; }
www.eeworm.com/read/310520/13649851

c stack.c

#include #include #define Max 100 int *p; int *tos; int *bos; /*添加一个数据放到堆栈对顶端*/ void push(int i) { if(p > bos) { printf("堆栈以满\n"); return; } *p = i; p+
www.eeworm.com/read/310200/13655762

h stack.h

www.eeworm.com/read/310200/13655791

cpp stack.cpp

www.eeworm.com/read/309975/13661179

cpp stack.cpp

//STACK.CPP #include #include #include #include #include /////////////////////////////////////////////////////////// templateclas
www.eeworm.com/read/309884/13662829

h stack.h

//stack.h #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef struct { int*base; int*top; int stacksize; }intstack;