December 8th, 2011, 02:34 AM
Can anyone help me solve this?
If pointer Front points to the last node in a linked list and Rear points to first node.How to write a code to implement enqueue and dequeue member methods?
December 9th, 2011, 12:01 AM
Re: Can anyone help me solve this?
Google is your friend (or, well actually, you shouldn't Google it and try to work out the algorithm yourself first, since it's more educatonal, but alas...)!
First hit for "Queue linked list" is highly informative: http://www.cs.bu.edu/teaching/c/queu...ist/types.html
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!