Hey all,
How does one append a new line to an existing text file?
The text file is basically a list
that gets items added to it on a regaular basis
Hey all,
How does one append a new line to an existing text file?
The text file is basically a list
that gets items added to it on a regaular basis
Deum solum fidentia est
ios::app
Code:ofstream file("somefile.txt", ios::app); file << "Hello world"; file.close();
try searching teh boards: http://cboard.cprogramming.com/showt...143#post310143
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
BTW--Thanks for the code:
the ios::app worked!
Deum solum fidentia est