Is there anyway I can transfer data from an fstream (a file) to a stringstream (a stream in the memory)?
fstream
stringstream
Currently, I\'m using a buffer, but th
ifstream f(fName); stringstream s; if (f) { s << f.rdbuf(); f.close(); }