#include #include #include using namespace std; int main() { string text = "Let's eat!\n"; ofstream fout; fout.open("myfilename.txt"); fout << "Hi mom!\n"; fout << text; fout.close(); return 0; }