|
-
October 15th, 2004, 09:13 AM
#2
Re: deleting & writing in the same file
Why don't you first open the file for input only, read and store each line in an array of strings. Close the file Change the line you want to change. Then open the file for output and write each line in the same order. Then save the file. Since .ini files are not that large, this should work very well.
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
|