agrego practicas
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
Se encontraron 3 registros invalidos.
|
||||
Iniciando reporte.
|
||||
Procesando 128 registros.
|
||||
Reporte generado correctamente.
|
||||
@@ -0,0 +1 @@
|
||||
Se encontraron 3 registros invalidos.
|
||||
@@ -0,0 +1,7 @@
|
||||
Permissions Size User Date Modified Name
|
||||
.rw-r--r-- 38 horacio 28 Oct 10:58 errores.txt
|
||||
.rw-r--r-- 0 horacio 28 Oct 11:07 listado.txt
|
||||
.rw-r--r-- 271 horacio 28 Oct 10:55 main.c
|
||||
.rwxr-xr-x 16k horacio 28 Oct 10:56 programa
|
||||
.rw-r--r-- 24 horacio 28 Oct 11:04 salida.txt
|
||||
.rw-r--r-- 19 horacio 28 Oct 11:00 test.txt
|
||||
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
int main(void){
|
||||
fprintf(stdout, "Iniciando reporte.\n");
|
||||
fprintf(stdout, "Procesando 128 registros.\n");
|
||||
fprintf(stdout, "Reporte generado correctamente.\n");
|
||||
|
||||
fprintf(stderr, "Se encontraron 3 registros invalidos.\n");
|
||||
return 1;
|
||||
}
|
||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
Iniciando reporte.
|
||||
Procesando 128 registros.
|
||||
Reporte generado correctamente.
|
||||
@@ -0,0 +1,2 @@
|
||||
test
|
||||
segunda linea
|
||||
Reference in New Issue
Block a user