You are here

Reuse of string streams

How do you fill an istringstream several times and how can one clear an ostringstream? Actually, the two issues are trivial, but there are very few books with answers in it.