#include #include "point.h" #include "mazequeue.h" using namespace std; // The enqueue operation void MazeQueue::remember(MazeElement* e) { q.push_back(e); } // The dequeue operation MazeElement* MazeQueue::getNext(void) { MazeElement* ret = q.front(); q.pop_front(); return ret; } // Get the number of elements still in the queue int MazeQueue::getLen() { return q.size(); }