R
Rich
Does anyone know the correct way of opening an unbuffered output file
using STL?
I attempted:
ofstream myfile("fname.txt", ios::binary);
myfile.setbuf(NULL, 0);
and I was informed that setbuf is not a member of
basic_ofstream.......
My platform is Win NT and I'm using VC++ 6.0
I have read that setbuf is (now, and seems to have recently become?) a
protected member of this class, and so I've tried a few other methods
of doing it to no avail.
I'm getting frustrated enough to simply do it in 'C'!
R.
using STL?
I attempted:
ofstream myfile("fname.txt", ios::binary);
myfile.setbuf(NULL, 0);
and I was informed that setbuf is not a member of
basic_ofstream.......
My platform is Win NT and I'm using VC++ 6.0
I have read that setbuf is (now, and seems to have recently become?) a
protected member of this class, and so I've tried a few other methods
of doing it to no avail.
I'm getting frustrated enough to simply do it in 'C'!
R.