Monday, August 8, 2011

C++ help please (10 points)?

If the vector has 100 elements, v.size() is called 100 times. The improvement is obvious, don't do that.

No comments:

Post a Comment