#include <iostream> #include <fstream> using namespace std; int main ( void ) { ofstream out; out.open( "data.txt" ); for ( int i = 0; i < 15000000; i++ ) out << i << endl; out.close(); return EXIT_SUCCESS; }