Everything works fine, it creates a file called text.txt, and it writes to it just fine. The problem is when I write to it again, it doesn't append or insert text, it overwrites it.
I was just wondering how I could insert text into a text file, instead of overwriting it. Sorry if my english isn't great.
Yes, it does help a lot, thanks. Could you explain to me what exactly ios::out | ios::app
Does? I tend to remember things better if I know what it is exactly that they do.