int main(){ LinkedListQueue<int> q; q.enqueue(5); q.enqueue(6); q.dequeue(); q.dequeue(); q.dequeue(); q.enqueue(20); q.enqueue(5); cout << q.front() << endl; q.printQueue(); return 0; }
int main() { LinkedListQueue l; l.enqueue(5); l.enqueue(1); l.enqueue(2); l.print(); l.enqueue(6); l.enqueue(4); l.print(); l.dequeue(); l.print(); l.dequeue(); l.dequeue(); l.print(); cout << "\nSize:" << l.size(); cout << endl; return 0; }