file2

PHOTO EMBED

Sun Apr 25 2021 22:34:05 GMT+0000 (Coordinated Universal Time)

Saved by @ahmedqgqgq #java

#include<iostream>
#include<fstream>
#include<string>
using namespace std;
int main()
{
	ofstream Myfiles("Myfiles.txt",ios::app);// add new words
	if (Myfiles.fail())
	{
		cout << "cant out open file\n";
		exit(1);
	}
	cout << "Let's use the output stream\n";
	Myfiles << "Hello world\n";
	Myfiles.close();

}
content_copyCOPY