I\'m currently using std::ofstream as follows:
std::ofstream
std::ofstream outFile; outFile.open(output_file);
Then I attempt to pass a st
st
If you are using std::ostringstream and wondering why nothing get written with ss.rdbuf() then use .str() function.
std::ostringstream
ss.rdbuf()
.str()
outFile << oStream.str();