| | |
edit in the file.
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
•
•
so the word program somekind like that?
They load all of them, after you edit, replace the old by the new one?
Yes, it's (one of) possible text editor pattern. Variants:
1. see my post above (safe method)
2. read in memory, edit then overwrite old file from the first changed point (or from the start) to the end - see your post

Did you think that hard disk track is an elastic string which is capable to place additional inserted bytes into the middle of the file contents?
Last edited by ArkM; May 6th, 2009 at 3:36 pm.
![]() |
Similar Threads
- need help: file upload using php (PHP)
- Need some help with reading from input file [newbie] (Python)
- Help me plz File not Found yet file is there (Pascal and Delphi)
- How do I edit a file in MySql please? (MySQL)
- Help with reading and writing from file (C++)
- Interface File and Multiple Classes (C++)
- How to upload a file in PHP ? (PHP)
- Scanning a text file for a string (C++)
- Create menu from properties file by recursion (Java)
Other Threads in the C++ Forum
- Previous Thread: BigInt help, please!
- Next Thread: system wide api hook
Views: 357 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays assignment beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data database delete desktop developer directshow dll encryption error file forms fstream function functions game generator getline givemetehcodez graph homeworkhelper iamthwee ifstream input int integer java lazy lib linux loop looping loops map math matrix memory multidimensional newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






