// main program
main()
{ queue myQueue;
myQueue.enQueue('A');
myQueue.enQueue('B');
myQueue.enQueue('C');
cout << "Item at front queue: " << myQueue.getFront();
cout << " Item at back queue : " << myQueue.getRear();
myQueue.deQueue(); // add code to print the value deleted from queue
myQueue.deQueue();
myQueue.deQueue();
myQueue.deQueue();
myQueue.enQueue('C');
myQueue.enQueue('D');
myQueue.deQueue();
myQueue.deQueue();
myQueue.enQueue('E');
getch();
// in forum, discuss is there any problem occur in link list implementation.
// compare with the implementation using linear array
// is the same problem occur.
// what is the advantage of using circular link list
}
can u all trace the errors and help me fix it????
i got headache to find the errors...!
ur help are so much thanks to me!