代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/240985/13182549
h stack.h
/*------------------------------------------------------------------------*/
/* */
/* STACK.H
www.eeworm.com/read/240985/13182740
cpp stack.cpp
// Borland C++ - (C) Copyright 1991 by Borland International
// stack.cpp: Implementation of the Stack class
// from Hands-on C++
#include
#include "stack.h"
int Stack::push(in
www.eeworm.com/read/240985/13182876
h stack.h
// Borland C++ - (C) Copyright 1991 by Borland International
// stack.h: A Stack class derived from the List class
#include "list.h"
class Stack : public List
{
int top;
public:
www.eeworm.com/read/240985/13182955
cpp stack.cpp
/*------------------------------------------------------------------------*/
/* */
/* STACK.CPP
www.eeworm.com/read/240985/13183140
h stack.h
/*------------------------------------------------------------------------*/
/* */
/* STACK.H
www.eeworm.com/read/240956/13185511
h stack.h
//stack.h
#ifndef STACK
#define STACK
struct Node{
int a;
Node* next;
};
class Stack{
public:
Stack();
~Stack();
void Put(int item);
int Get();
protected:
Node* head;
www.eeworm.com/read/240956/13185527
cpp stack.cpp
//stack.cpp
#include "stack.h"
#include
#include
Stack::Stack():head(NULL){}
void Stack::Put(int item)
{
Node* p = new Node;
p->a = item;
p->next = head;
www.eeworm.com/read/139030/13191672
gif stack.gif
www.eeworm.com/read/139030/13191771
gif stack.gif
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|02 Aug 2002 16:00:00 -0000
vti_extenderversion:SR|5.0.2.2623
vti_author:SR|friend
vti_modifiedby:SR|friend
vti_timecreated:TR|02 Aug 2002 16:00:00