#include <iostream>
#include <fstream>
using namespace std;
int main(void) {
ofstream file;
//open a file for writing
file.open("numbers.txt");
//write to the file
for(int i=0; i<100; i++) {
file << i << endl;
}
//close the file
file.close();
return 0;
}