|
-
Apr 24th, 2002, 10:42 PM
#1
Thread Starter
Lively Member
Binary file i/o
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
- Justin Patrick Butler
Comme je trouve. "As I find."
- Butler family quote
Beneficia sumptos procul superant. "The benefits far exceed the costs."
- Myself
-
Apr 26th, 2002, 09:28 AM
#2
To seek around a binary file, you can use the fseek function.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|