|
-
Sep 23rd, 2001, 03:42 AM
#1
Thread Starter
Lively Member
Appending to a file using fstream.h
Can somebody please tell me how to append to a file using fstream with VC++? Note the keyword "append", I already know how to overwrite a file using fstream, but I want to know how I can append. The Internet is no help at all (esp. Microsoft's MSDN website, which I'm sick and tired of and am not even going to go to for help anymore), so I have turned here as a last result. If anybody could help me, it would be appreciated, thanks.
- Justin Patrick Butler
Comme je trouve. "As I find."
- Butler family quote
Beneficia sumptos procul superant. "The benefits far exceed the costs."
- Myself
-
Sep 23rd, 2001, 10:35 AM
#2
Monday Morning Lunatic
For the open mode, use ios::append
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
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
|