EOF
- Posted by encephalon1 at msn.com Jun 21, 2002
- 420 views
------=_NextPart_001_0000_01C21917.873C66A0 I'm having a little problem reading certain kinds of files using getc(); = I can read pure text files, and bitmap files that aren't 24-bit, but I ca= n only read a very small first part of exe's, jpegs, gifs, 24-bit bmps.. = nearly everything else. Does this have anything to do with the way the E= OF is determined? Any suggestions on how to overcome it (getting length = of file and keeping track??) ? Any help appreciated, NathanGet more from the Web. FREE MSN Explorer download : http://explore= r.msn.com ------=_NextPart_001_0000_01C21917.873C66A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV>I'm having a l= ittle problem reading certain kinds of files using getc(); I can read pur= e text files, and bitmap files that aren't 24-bit, but I can only read a = very small first part of exe's, jpegs, gifs, 24-bit bmps.. nearly everyth= ing else. Does this have anything to do with the way the EOF i= s determined? Any suggestions on how to overcome it (getting length= of file and keeping track??) ?</DIV> <DIV> </DIV> <DIV>Any hel= HTML><br clear=3Dall><hr>Get more from the Web. FREE MSN Explorer downlo= ad : <a href=3D'http://explorer.msn.com'>http://explorer.msn.com</a><br><= /p> ------=_NextPart_001_0000_01C21917.873C66A0--