Thats much clearer now, thank you very much guys. You had solved my problem with my code in the first few replies and the rest of it was just me seeking to get a better understanding and handle on...
Type: Posts; User: Mad Frank
Thats much clearer now, thank you very much guys. You had solved my problem with my code in the first few replies and the rest of it was just me seeking to get a better understanding and handle on...
Ah right, I can see I forgot to assign the return value from my erase statement to myIterator as CornedBee told me to so I have done that now.
I might be a bit thick though but I still cant see...
Thanks, that makes it a lot clearer as I was confused over that. I will always use them from now.
Re Invalidating my iterators. Would this be because once I remove an item from a vecor that all my...
Thanks for the replies. It was the curly brackets on the If Else that was nested in the for loop that did it.
In response to some of the comments:
The Cout was just a cut and paste error.
...
Hi,
I Just started programming C last week using Beginnning C++ programming which I must say is excellent. I have a basic grounding in PHP and did some Java in college so am moving through the...