hi all
i want to be able scan text moving from word to word with an iterator and which ever that word the iterator is on push it into a vector
this is what i have but i get an error
Code:string format_paragraph(vector<string> words, int text_width) vector<string>::iterator pos; for(pos=words.end();pos != words.begin(); pos++) words.push_back(pos);