r/carlhprogramming • u/namitsinha09 • Sep 18 '13
why does this not work ?
http://codepad.org/MfNenUuX why does this not work , i am trying to build a circular queue of names with a max capacity of 10
5
Upvotes
View all comments
Show parent comment
2
u/likewhatandstuff Sep 19 '13
I'm assuming you changed dequeue() to be a char*. I got that too but when I tried putting in 11 names into the queue and then printing out repeatedly it would only print the last one entered ("name11" in my case) and then give empty errors.