summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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