good c file i/o articles

Started by
9 comments, last by Spencer 23 years ago
Yes, obviously, most files will be greater than 100,000 bytes. However, people rarely read them all in one statement. That's why we have cached and buffered file reading, so we can read in 4-byte ints which describe sizes and IDs and all sorts of other small things, without having to buffer it ourselves by loading the whole file into memory and then parsing through it to find what we want.

Of course, there are .wav files and other media files that are typically very large, but I let the OS functions load those.


Edited by - null_pointer on March 23, 2001 4:29:00 PM

This topic is closed to new replies.

Advertisement