#include <iostream>
#include <fstream>
using namespace std;
int main(){
	ofstream file;
	char linea[100];
	int i;
	file.open("salida.txt");
	if( !file ){
		return(1);
	}
	else{
		for(i=0; i<10; i++) {
			file << "linea" << endl;
		}
		file.close();
	}
	return 0;
}

