#include <fstream> using namespace std; int main() { ofstream os("test.txt"); os << "Hello World!" << endl; os.close(); return 0; }