 |
stl - Iteration over vector in C++ - Stack Overflow
What is the correct way of iterating over a vector in C++? Consider these two code fragments, this one works fine: for (unsigned i=0; i < polygon.size(); i++) { sum += polygon[i ...
stackoverflow.com |
 |