school/cs235/lab05/ordeque.h

17 lines
351 B
C
Raw Normal View History

2016-04-06 20:46:10 -07:00
#ifndef __ORDEQUE_H__
#define __ORDEQUE_H__
#include "linkedlist.h"
class ordeque {
public:
linkedlist l;
bool addToORDequeLeft(int id);
bool addToORDequeRight(int id);
bool removeFromORDequeLeft();
int showTopOfORDequeLeft();
int showSizeOfORDeque();
bool in_ordeque(int id);
};
#endif