Please help - beginner vector problemI got it to work. The problem was that I had to do a.size()-2 because if I sorted it before that, a...
Please help - beginner vector problemIt's comparing it to an imaginary number then; one that was never created. I don't know what other ...
Please help - beginner vector problem[quote]Here's a thought: before you add the ball to the vector and sort it, check to see if it is sm...
Please help - beginner vector problemYou're correct about the (int i=0) i changed that. [quote]> When I add "a.size()-1" it's treating ...
Please help - beginner vector problemI disagree. If I don't have the sort a[5] would be whatever I put in as the 6th value rather than...
This user does not accept Private Messages