代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/402806/11527247
h stack.h
#include
const int length=100;
class stack
{
private:
int size;
char array[length];
public:
stack()
{
size=0;
}
void push(char ch)
{
if(size
www.eeworm.com/read/402806/11527250
h stack.h
#include
#include
#include
const int length=30;
const int capacity=100;
struct node
{
int encode;
int readdr;//short for relative address
www.eeworm.com/read/402785/11527324
h stack.h
/* stack.h - source code for stack library
*
* STACK - Stack Library
*
* Copyright (C) 2000 Richard Heathfield
* Eton Computer Systems Ltd
* M
www.eeworm.com/read/402785/11527325
c stack.c
/* stack.c - source code for stack library
*
* STACK - Stack Library
*
* Copyright (C) 2000 Richard Heathfield
* Eton Computer Systems Ltd
* M
www.eeworm.com/read/402430/11535133
h stack.h
/**/
template
class CStack
{
public:
CStack()
{
Head = new Node;
Head->Next = NULL;
}
void Push(T data)
{
Node* tem;
tem = Head->Next;
Head->Next = new Node
www.eeworm.com/read/402271/11539937
hpp stack.hpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josutti
www.eeworm.com/read/402208/11540547
o stack.o
www.eeworm.com/read/402208/11540589
o stack.o
www.eeworm.com/read/402208/11540632
o stack.o
www.eeworm.com/read/402148/11542109
h stack.h
// stack.h: interface for the stack class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STACK_H__D34244D9_E00D_414E_8930_E6151FCB516C__INCLUDED_)
#d