diff --git a/STL/STL.md b/STL/STL.md index ba52f9b..d1bd8c1 100644 --- a/STL/STL.md +++ b/STL/STL.md @@ -62,7 +62,7 @@ int main() { std::array myarray = {2, 16, 77,34, 50}; std::cout << "myarray contains:"; - for(auto it = myarray.begin(); it != myarray.end(); ++i) + for(auto it = myarray.begin(); it != myarray.end(); ++it) std::cout << ' ' << *it; std::cout << '\n';