Saturday, July 29, 2017

stack.h

#include"LinkedList.h"

class Stack{
private:
  LinkedList* list;
public:
  Stack();
  ~Stack();
  int empty();
  void push(int num);
  int pop();
};

No comments:

Post a Comment