Sep 1, 2015 at 1:29am
for (iter = scores.begin();iter !=scores.end();++iter);
there is a semicolon at the end of this line which shouldn't be there...
Sep 1, 2015 at 1:30am
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 Sep 1, 2015 at 1:33am
Sep 1, 2015 at 2:11am
Thanks, the book i am useing did not show you could do that. so i had no idea you could.