i havent been able to find anyone to help me ....
i am looking to create a queue ....
i cant use a stack, as that is LIFO (last in, first out) ...
but i need a FIFO (first in, first out) ....
i have some code for a stack class using linked lists .... and i tried modifying the code to do FIFO, but i keep getting an error in this one spot (instead of popping the head of the stack, i would have it traverse the stack to the back and return the end ... but getting the element before the end to point to NULL, well, keeps crashing the program ....
can anyone help?