Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.61 KB | None | 0 0
  1. //* CARGAR A ARCHIVO NO ATENDIDOS *//
  2. void cargar_arch_noaten(listaP P, FILE *fp){
  3. resetP(&P);
  4. char separacion[] = "******************************************";
  5. horario ing;
  6. while(oosP(P)==0){
  7.     if(mostrar_solo_hora_aten(copyP(P))==24){
  8.  
  9.    fprintf(fp,"%s\n",separacion);
  10.     fprintf(fp,"%Nombre y Apellido: %s\n", mostrar_nom(copyP(P)),mostrar_ape(copyP(P)));
  11.     fprintf(fp, "Edad: %d\n", mostrar_edad(copyP(P)));
  12.     fprintf(fp, "DNI: %d\n", mostrar_dni(copyP(P)));
  13.     fprintf(fp, "Hora de ingreso: %d Hs %d Min\n", ing.hora, ing.minuto);
  14.     printf("Entro aca\n");
  15.     }
  16.  
  17.     forwardP(&P);
  18.  
  19. }
  20.  
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement