PDA

Click to See Complete Forum and Search --> : Binary file i/o


dubae524
Apr 24th, 2002, 10:42 PM
Hey everyone, again. I now have another problem, I've been searching through the threads on a way to open up a binary file and to read from and to save to a specific offset, and that offset only. However, I have searched through all these and seen many confusing discussions on how you're supposed to use C++'s method (fstream) or C's method (stdio). Is it possible that someone can give me some sort of explanation on this? Remember: I want to work with binary, and not ASCII, files.

Tnx :o :)

CornedBee
Apr 26th, 2002, 09:28 AM
To seek around a binary file, you can use the fseek function.