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
When passing a stringstream rdbuf to a stream newlines are not translated. The input text can contain \n so find replace won't work. The old code wrote to an fstream and switching it to a stringstream losses the endl translation.
\n