代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/222769/14674573
h stack.h
/*
Project.
XSC - The XtremeScript Compiler Version 0.8
Abstract.
Stack implementation header
Date Created.
9.3.2002
Author.
Ale
www.eeworm.com/read/222769/14674599
cpp stack.cpp
/*
Project.
XSC - The XtremeScript Compiler Version 0.8
Abstract.
Stack implementation
Date Created.
9.3.2002
Author.
Alex Varan
www.eeworm.com/read/122684/14674812
h stack.h
//: C04:Stack.h
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Nested struct in linked list
www.eeworm.com/read/122674/14676273
h stack.h
#ifndef STACK_CLASS
#define STACK_CLASS
#include
#include
#include "link.h"
template
class Stack
{
private:
// a linked list object to hold th
www.eeworm.com/read/122479/14687853
cpp stack.cpp
#include"Stack.h"
#include
#include
status InitSqStack(SqStack &s)
{
s.base =(ElementType*)malloc(sizeof(ElementType)*STACKINITSIZE);
if(!s.base ) return 0;
s.top=s.bas
www.eeworm.com/read/122479/14687863
h stack.h
#define STACKINITSIZE 100
#define STACKINCREMENT 10
typedef char ElementType;
typedef int status;
typedef struct{
ElementType *base;
ElementType *top;
int stacksize;
}SqStack;
status I
www.eeworm.com/read/122474/14687950
cpp stack.cpp
#include"common.h"
#include"Stack.h"
#include
#include
status InitSqStack(SqStack &s)
{
s.base =(ElementType*)malloc(sizeof(ElementType)*STACKINITSIZE);
if(!s.base ) ret
www.eeworm.com/read/122474/14687966
h stack.h
#include"common.h"
#define STACKINITSIZE 100
typedef struct{
ElementType *base;
ElementType *top;
int stacksize;
}SqStack;
status InitSqStack(SqStack &s);
status DestroySqStack(SqStack &s
www.eeworm.com/read/122473/14687979
cpp stack.cpp
#include"Stack.h"
#include
#include
status InitSqStack(SqStack &s)
{
s.base =(ElementType*)malloc(sizeof(ElementType)*STACKINITSIZE);
if(!s.base ) return 0;
s.top=s.bas
www.eeworm.com/read/122473/14687995
h stack.h
#define STACKINITSIZE 100
#define STACKINCREMENT 10
typedef char ElementType;
typedef int status;
typedef struct{
ElementType *base;
ElementType *top;
int stacksize;
}SqStack;
status I