[c++/en] Fix typo of iterator (#2501)

iteartor -> iterator
This commit is contained in:
Andrew Chellis 2016-10-24 03:43:42 -04:00 committed by ven
parent 4a8c39a21f
commit 042ed50381

View File

@ -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