EOF

new topic     » topic index » view thread      » older message » newer message

------=_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.&nbsp;&nbsp;Does this have anything to do with the way the EOF i=
s determined?&nbsp; Any suggestions on how to overcome it (getting length=
 of file and keeping track??)&nbsp;?</DIV> <DIV>&nbsp;</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--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu