Thread
:
Don't Erase Contents of Text File
View Single Post
•
•
Join Date: Apr 2008
Posts: 670
Reputation:
Solved Threads: 113
Freaky_Chris
Offline
Practically a Master Poster
Re: Don't Erase Contents of Text File
0
#
2
Jan 3rd, 2009
Help with Code Tags
C++ Syntax
(
Toggle Plain Text
)
ofstream myfile
(
"example.txt"
, std::
ios
::
app
)
;
ofstream myfile("example.txt", std::ios::app);
Hope that helps
app stands for append btw
Chris
Knowledge is power -- But experience is everything
Freaky_Chris
View Public Profile
Find all posts by Freaky_Chris