ofstream is to output and overwrite the file..
what can i use to add to the file?
Thanks Again..
Printable View
ofstream is to output and overwrite the file..
what can i use to add to the file?
Thanks Again..
Use:
Code:ofstream OutFile("filename.ext", ios::app);