|
-
Mar 8th, 2002, 08:00 AM
#1
Thread Starter
Addicted Member
fwrite in the middle of a file
Hello,
I need to write some records to a file and sometimes I need to insert a record in the middle and move the records before it. The problem is that when I use fseek to get to the right place to write a record, then if it's in the beginning / end of the file, fwrite works, but if it's in the middle, it doesn't overwrite the record that was there, neither does it cause an error.
What is the problem?
Thanks in advance.
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
|