cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
*
*
Mar 2, 2012 at 12:35pm UTC
closed account (
LzvqM4Gy
)
*
Last edited on
Mar 5, 2012 at 2:53pm UTC
Mar 2, 2012 at 12:44pm UTC
Jikax
(236)
good luck...
Mar 2, 2012 at 7:00pm UTC
mik2718
(347)
hints:
use head and tail to store indexes of the first and last element
use % (modulus) operator to wrap the indices around to the beginning as they are incremented
check for empty queue and full queue
Mar 2, 2012 at 8:28pm UTC
cnoeval
(643)
http://cplusplus.com/forum/general/63344/
If you're going to try to get someone to do your homework for you at least learn to double-post in a different forum!
Topic archived. No new replies allowed.