Premraj
0
Q:

c++ clear stream

// EXAMPLE
ostringstream osTest;
osTest << "This is the stream\n";
osTest.clear();
osTest.str("");

/* SYNTAX 
<your-stream-variable>.clear();
<your-stream-variable>.empty();
*/

/* HEADER(S) 
#include <sstream>
*/
0

New to Communities?

Join the community