#include #include using namespace std; ofstream fout; int main() { fout.open("somefile.txt"); fout << "Hello World!\n"; fout.close(); return 0; }