These threads do NOT answer me:
resetting a stringstream
How do you clear a stringstream variable?
std::ifstream file( szFIleName_p )
In most cases, it is easier to create a new istringstream or ostringstream instead of resetting the same ones.
However, if you do want to resent them:
Resent flags of the stream (to avoid unexpected behavior) using clear ().
While you can correct the contents of your stringstream using str (""), for efficiency purposes we might prefer str(std::string()).