Mail Archives: djgpp/1997/07/27/12:03:11
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!
- Raw text -