Subject: Re: [boost] Proposed templated integer_sort
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-04-18 16:24:32
Steven Ross wrote:
> What is the best platform-independent file I/O approach to use for writing
> and reading bytes? ofstream writes 4031 bytes when I tell it to write 4000
> on Windows, so that doesn't seem appropriate.
You probably need to open the file in binary mode.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk