View Single Post
Old Sep 20th, 2007, 9:39 PM   #2
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Take the current text in the file and put it in a string, we'll call it strContents. Take the text you want to insert in the files and save it in another string, calling it strCode;

strNewContents = strCode + "\n" + strContents

^Do something like that and translate it to C++.
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote