Hi, I made a writing to a .txt file program. It works fine, but, when I put it my .txt it just replaces that line of the texts in the .txt file. I was wanting know is there a way to go to the nexts line to write the new texts? Here my code:
Code://<******files and headers are right just my code ofstream myfile; myfile.open ("learnthis.txt"); getline(cin,learn); learn=say+learn; myfile << learn; myfile.close();}}}