X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/f433f56391fae5c147650c0a4d53d4c0552c33b0..7cd2e930f9665432a3bfa725b90bf3c0a3cb5617:/tipo3/main.c diff --git a/tipo3/main.c b/tipo3/main.c index 41d9594..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, n4, b, 100); printf("Ok\n"); printf("Recuperado : %s\n", b);