#include #include int main () { std::ofstream myfile("output"); myfile << "Text to file output"<<"\n"; myfile.close(); }