Date: Fri, 18 Sep 92 13:18:57 EDT From: DJ Delorie To: anil AT eecg DOT toronto DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Outputting binary data to a file >The faq seems to indicate you can set binary mode for file IO if you are >using C, but I can't find anything for C++. fopen(...,"wb") gives you a binary stream, as does open(...,O_BINARY). I don't think there's a mechanism for C++ stream objects. DJ dj AT ctron DOT com Life is a banana.