#include using namespace std; int main() { outfile = fopen("myfile.txt", "w"); for(int i = 0; i < 100; i++) { fputs("Hello World\n ", outfile); } fclose(outfile); return 0; }