
05/11/2006, 09:10
|
| | Fecha de Ingreso: septiembre-2006
Mensajes: 328
Antigüedad: 18 años, 5 meses Puntos: 3 | |
#include <stdio.h>
#include <stdlib.h>
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
FILE *file;
char string [15] = "Mi programa\n";
int cont;
file = fopen ("C:\\XeV.txt", "w");
cont =1;
do {
fputs (string, file);
cont++;
} while (cont <=10);
fclose (file);
}
Todavia no funciona. :S |