?
=?ISO-8859-1?Q?Konrad_M=FChler?=
Hi,
I have a stringstream and want to write it 1:1 in a file.
Using this doesn't work:
stringstream myStream;
....
ofstream myFile(filename);
myFile<< myStream;
myFileclose();
I don't want to parse the stream line by line. Is there an easy way to
write the hole stream all at once in the file?
Thanks
Konrad
I have a stringstream and want to write it 1:1 in a file.
Using this doesn't work:
stringstream myStream;
....
ofstream myFile(filename);
myFile<< myStream;
myFileclose();
I don't want to parse the stream line by line. Is there an easy way to
write the hole stream all at once in the file?
Thanks
Konrad