-
itorators
This is an iteration for a container. The following code using it compiles corectlly.
it=start;
while (*it ! = key)
it = it +1;
cout *it;
it=conainer.begin();
*it=x;
it=container.begin();
container.insert(container.end(), *it);
I amn trying to figure out what the containers are.
Are they arrays?
list?
vector?
heck I don't know.
Any insite would be great.
Peter
-
They could be any of the STL containers, as each one will have an iterator defined for it. But if you have the source code then why don't you know what container the iterator is for?
-
I do not have the source code, I am trying to identify the containers.
-
I'm confused. If you just need a list of the STL containers then they include -
- deque
list
map
multimap
multiset
set
vector
string
-
Think of them as objects that are similar to pointers.