There is no flag - it's the default. Just leave out ios::binary.
I think you should just use text mode.
This is a discussion on eliminating \n and \r from string [boost::iostreams] within the C++ Programming forums, part of the General Programming Boards category; There is no flag - it's the default. Just leave out ios::binary. I think you should just use text mode....
There is no flag - it's the default. Just leave out ios::binary.
I think you should just use text mode.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law