From 947c25138382fe8143076279c81462b7eee30b19 Mon Sep 17 00:00:00 2001 From: Cat <843553493@qq.com> Date: Wed, 15 Sep 2021 16:43:01 +0800 Subject: [PATCH] [fix] a typo --- STL/STL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';