Re: Reading a binary file
- Posted by ck lester <cklester at YAHOO.COM> Aug 17, 2000
- 426 views
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