Please help me..

I have a problem with c++. pls help me.
As u all know there is a method to create a text file and write text to it in c++,
but every time i run the program , it overwrite the file (eg. myfile.txt)
but i want to write in a same file again and again. please help me with he coding...
pleaaase... :(
You should change the mode so that it Appends data, not overrides it
Topic archived. No new replies allowed.