#include #include int main( void ) { int num = 127; ofstream fout( "abc.txt" ); fout << num; cout << "Wrote '" << num << "' to abc.txt\n"; }