Mail Archives: djgpp/1997/12/29/14:00:55
| From: | "Jean-Réginald Louis" <louis DOT jean-reginald AT teccart DOT qc DOT ca>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | DJGPP + file stream class
|
| Date: | Mon, 29 Dec 1997 13:53:33 -0500
|
| Organization: | VTL
|
| Lines: | 9
|
| Message-ID: | <34A7F1AC.81309614@teccart.qc.ca>
|
| NNTP-Posting-Host: | ppp088.100.mmtl.videotron.net
|
| Mime-Version: | 1.0
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I got problem whne it come to read from file with stream class
<fstream.h>
ex.
ifstream in("file.ext", ios::binary|ios::in);
when I do "in >> i" for the first time, it work, but the second time, I
should get a 16bit value (integer) but nothing appear. what can I do?
- Raw text -