for (iter = scores.begin();iter !=scores.end();++iter);
there is a semicolon at the end of this line which shouldn't be there...
You would have found it yourself if you defined 'iter' in each for loop, like you should have done, instead of at the beginning of main.
Last edited on
Thanks, the book i am useing did not show you could do that. so i had no idea you could.