There is nothing wrong with this code, and yet:Code:#include <cstdlib> #include <iostream> #include <conio.h> using namespace std; int main( void ) { ofstream out_file; out_file.open("test1.txt"); out_file << "This_Is_A_Test_File" << endl; out_file.close(); return 0; }
Please help, this is just like the example script that tons of other sites give too!Originally Posted by DevC++
Thanks, August.