File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1718,14 +1718,14 @@ int main( )
17181718 cout << "The first element in the reversed multiset is "
17191719 << * ms1_rIter << "." << endl;
17201720
1721- // begin can be used to start an interation
1721+ // begin can be used to start an iteration
17221722 // through a multiset in a forward order
17231723 cout << "The multiset is:";
17241724 for ( ms1_Iter = ms1.begin( ) ; ms1_Iter != ms1.end( ); ms1_Iter++ )
17251725 cout << " " << * ms1_Iter;
17261726 cout << endl;
17271727
1728- // rbegin can be used to start an interation
1728+ // rbegin can be used to start an iteration
17291729 // through a multiset in a reverse order
17301730 cout << "The reversed multiset is:";
17311731 for ( ms1_rIter = ms1.rbegin( ) ; ms1_rIter != ms1.rend( ); ms1_rIter++ )
@@ -1834,7 +1834,7 @@ int main() {
18341834 cout << "The last element in the reversed multiset is "
18351835 << * ms1_rIter << "." << endl;
18361836
1837- // end can be used to terminate an interation
1837+ // end can be used to terminate an iteration
18381838 // through a multiset in a forward order
18391839 cout << "The multiset is: ";
18401840 for ( ms1_Iter = ms1.begin( ) ; ms1_Iter != ms1.end( ); ms1_Iter++ )
You can’t perform that action at this time.
0 commit comments