From: "Richard Birch" Newsgroups: comp.os.msdos.djgpp Subject: compiler doesn't like ORing things Date: 23 Jul 1997 23:14:42 GMT Organization: UUNET Lines: 19 Message-ID: <01bc97bd$f03130e0$LocalHost@damien> Reply-To: richardbirch AT dial DOT pipex DOT com NNTP-Posting-Host: am013.du.pipex.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I wrote in with a problem regarding:- ifstream src(filename, ios::bin); not working. I got the advice to use:- ifstream src(filename, ios::in | ios::bin); [I've also tried ifstream src(filename, (ios::in | ios::bin));] But now the compiler complains:- Error: parse error before character 0335 Ok, so this usually means you've left out a ' ; ' somewhere, but I've checked and there are no missing ' ; '. I'm using RHIDE 1.3 so maybe it doesn't like the syntax or something petty like that. Could someone PLEASE throw some light on this because I'm getting fed-up with this whole ifstream business!