summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorAndrew Chellis <andrewchellis@users.noreply.github.com>2016-10-24 03:43:42 -0400
committerven <vendethiel@hotmail.fr>2016-10-24 09:43:42 +0200
commit042ed5038101d59a9d438cc2410fd9c91a343753 (patch)
tree9e32e70c56093cae21895d39e22b254892aa09f9 /c++.html.markdown
parent4a8c39a21f0d17cdfc49baad9dec06155219d133 (diff)
[c++/en] Fix typo of iterator (#2501)
iteartor -> iterator
Diffstat (limited to 'c++.html.markdown')
-rw-r--r--c++.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++.html.markdown b/c++.html.markdown
index 5dc1af59..7dc9afbe 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -1011,7 +1011,7 @@ for(int i=0; i<Vector_name.size(); i++)
// It will iterate through the vector from index '0' till last index
// Iterator
-vector<Data_Type>::iterator it; // initialize the iteartor for vector
+vector<Data_Type>::iterator it; // initialize the iterator for vector
for(it=vector_name.begin(); it!=vector_name.end();++it)
// For accessing the element of the vector