school/cs235/lab05/stack.h
2016-04-06 20:46:10 -07:00

17 lines
276 B
C++

#ifndef __STACK_H__
#define __STACK_H__
#include "linkedlist.h"
class stack {
public:
linkedlist l;
node* head;
bool addToStack(int id);
int removeFromStack();
int showTopOfStack();
int showSizeOfStack();
bool in_stack(int id);
};
#endif