X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/1b02a88830b3f4d2bc0e1518cd4c80ac276f7089..7cd2e930f9665432a3bfa725b90bf3c0a3cb5617:/tipo3/main.c diff --git a/tipo3/main.c b/tipo3/main.c index c9796c1..1d7cac1 100644 --- a/tipo3/main.c +++ b/tipo3/main.c @@ -34,15 +34,16 @@ int main() n6 = fp->grabar_registro(fp, g, 100); n7 = fp->grabar_registro(fp, h, 100); - printf("ID1 = %d\n", n1); - printf("ID2 = %d\n", n2); - printf("ID3 = %d\n", n3); - printf("ID4 = %d\n", n4); - printf("ID5 = %d\n", n5); - printf("ID6 = %d\n", n6); - printf("ID7 = %d\n", n7); + printf("ID0 = %d\n", n1); + printf("ID1 = %d\n", n2); + printf("ID2 = %d\n", n3); + printf("ID3 = %d\n", n4); + printf("ID4 = %d\n", n5); + printf("ID5 = %d\n", n6); + printf("ID6 = %d\n", n7); + + fp->leer_registro(fp, n6, b, 100); - fp->leer_registro(fp, n3, b, 100); printf("Ok\n"); printf("Recuperado : %s\n", b);