Re: Reading a binary file

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

jiri, be nice.

PQ wrote:

> >I actually do not see what's the problem with speed in
> >retreiving data from files, I always use this:
> >

jiri responded, in part:

> I actually do not see what *your* problem is, since you almost answered
> your own question. Almost. Your code also has an extra test (char !=
> -1) and an extra assignment (char = getc(hnd)). It all adds up to a
> lot of unnecessarily wasted time, especially if you are in a hurry.


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu