Search:
Forum
General C++ Programming
write to a file
write to a file
Dec 29, 2009 at 3:56pm UTC
oontvoo
(40)
Suppose, I am writing to a file, and after I have done writing, I want to come back to a specific position of the file and insert some lines. How do I do that?
Dec 29, 2009 at 4:15pm UTC
Bazzy
(6281)
tellp:
http://www.cplusplus.com/reference/iostream/ostream/tellp/
Notice that if you go back and write something, you'll be overwriting the existing file
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs