home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
OTHERUTI
/
TCPP30-3.ZIP
/
EXAMPLES.ZIP
/
STACK.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-02-18
|
332b
|
18 lines
// 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:
Stack() {top = 0;};
Stack(int n) : List(n) {top = 0;};
int push(int elem);
int pop(int& elem);
void print();
};