finding form feed
i have a table that i want to format but for the very last line, debugging in msvc++ it says character 12 and i looked it up and its a form feed.
how can i look for this throughout my document?
i'm using getline and all my lines are then strings.
then i want to do something like....if(line.formfeedfound()) then line.erase();
STL General: How to remove elements of a particular value from a container?
that's not it. that has to do with removing vectors. however i'm looking for a value i should search for like '\t' for tab and '\n' for a new line.
however i'm looking for the value that represents a form feed or a new page marker.
Those templates work on STL containers, including strings. Those values can include a form feed, 12, '\f'
what about finding the '\f' and replacing it with a '\n'