I am a newbie so bear with me. Can anyone give me a simple sample code of how to empty a queue and put the contents into a stack. I need to check if the stack has room for the contents each time as well as check when the queue is empty. This can be in one function and simple just so I get an idea. Thans in advance.