For instance, if you want to iterate through a list with a for loop, you must do a != comparison, instead of a < comparison usually used in for loops.
for( list
{
// some code
}
This is a sample of proper code to iterate through a list using iterators.
No comments:
Post a Comment