Random File Access

Sequential file access works like a tape recorder — if you remember using one. Data is read from byte 0 through the last byte in the file, one after the other. Random file access can be sequential, but you can also hop around within the file, reading a chunk here, writing a chunk there. The secret has to do with the how the file position indicator is manipulated.
Continue reading