Damien Bell
2011-06-15 15:36:02 UTC
int x=5;
vector
for (int i=1; i<=5; i++) v.push_back(i);
vector
cout << "vector v contains:";
for ( iter=v.begin() ; iter < v.end(); iter++ )
cout << " " << *iter;
How does that differ at all from something like this?
int x=5;
vector
for (int i=1; i<=5; i++)v.push_back(i);
for (int i=0; i
}
Does it even matter?