hi im new to the forums, im am currently making a rota and am having problems. i can add new objects to the queue and remove an object from the queue, but i cant seem to get the "names" to go from the front of the queue to the back of the queue. if anyone can help me out, it would be greatly appriciated.
rick_kelly
0
Newbie Poster
Recommended Answers
Jump to PostA queue is a first in first out. A stack is a first in last out.
You might need a stack instead of queue. I you need a combination of a stack and queue then you will have to write youre own collection.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.