hi,
im trying to remove all elements starting with the a...im not sure why this doesnt work?
thanks..Code:/* remove element if it begins with a */ for (vector<string>::iterator k = final.begin(); k!=final.end(); ++k) { if(*k.find("a")==0) final.erase(*k); }