#include<iostream>
#include<fstream>
using namespace std; void process(string filename)
{
fstream file(filename);
file << "Hallo world!" << endl;
file.close();
} int main()
{
#include"haha.txt"
string s = "haha.txt";
process(s); return 0;
}
2022-11-13 11:15:31
#include<iostream>
#include<fstream>
using namespace std; void process(string filename)
{
fstream file(filename);
file << "Hallo world!" << endl;
file.close();
} int main()
{
#include"haha.txt"
string s = "haha.txt";
process(s); return 0;
}