Thread
:
STL Basics tutorial
View Single Post
06-30-2005, 11:52 PM
#
4
(
permalink
)
redhead
Newbie
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
Quote:
OK so iterators are just used to traverse over multiple objects in a container?
Yes, in a way, you can think of them as beeing the equivalent of something like
Code:
for(
int
i=0; i < container.length(); i++)
// Do stuff with container[i];
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead
View Public Profile
Visit redhead's homepage!
Find More Posts by redhead