From: Nathan Smith Newsgroups: comp.os.msdos.djgpp Subject: GCC 3 and binary files Date: Tue, 06 Nov 2001 11:18:21 +1100 Lines: 7 Message-ID: NNTP-Posting-Host: 072.olv0101.olv.iprimus.net.au (210.50.12.72) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1005005965 35016004 210.50.12.72 (16 [86525]) X-Newsreader: Forte Agent 1.8/32.548 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com GCC 2 would work with: int mode_in=(ios::in | ios::binary | ios::nocreate); fstream filein(filename,mode_in); it would work, now it no longer works. ios::nocreate doesn't seem to exist and the mode_in element of fstream don't seem to be valid either. Any docs on how to do all this with GCC 3?