FYI: Note that is some libraries the operator-> for iterators are missing so for (vector<string>:iterator it = vstr.begin(); it != vstr.end(); ++it) { // print out one string at a time. cerr << (*it) << "Length: " << it->length() << endl; } is not guaranteed to work. However we have never experienced problems with cerr << (*it) << "Length: " << (*it).length() << endl; but hopefuly the problems it it-> are disapearing rapidly... Lgb
- Re: FYI: (*it). vs it-> Lars Gullik Bjønnes
- Re: FYI: (*it). vs it-> Andre Poenitz
- Re: FYI: (*it). vs it-> Lars Gullik Bjønnes