Google Answers Logo
View Question
 
Q: c++ queue ( No Answer,   0 Comments )
Question  
Subject: c++ queue
Category: Computers > Programming
Asked by: linkinpark-ga
List Price: $5.00
Posted: 04 Apr 2004 10:27 PDT
Expires: 04 Apr 2004 12:47 PDT
Question ID: 325006
I am having trouble with the queue class using c++ with the g++
compiler.  lets assume I have a class "coin".  I am instantiating
queue like queue<coin> bunch_of_coins.  when i
"bunch_of_coins.push();" like say 5 coins on, and then display then
pop, then display...... I am getting the same thing each time i
display. In other words, i dont thing the items are being add to the
queue right.
Is there something special i need to do to the class coin, or to the
instansiation, or does it seem it should work?
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy