school/cs235/lab05/stack.h

17 lines
276 B
C
Raw Normal View History

2016-04-06 20:46:10 -07:00
#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