Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. void funkcia_v(FILE *sub)
  2. {
  3.     char meno_priezvisko[50];
  4.    
  5.     if((sub = fopen("predaj.txt", "r")) == NULL)
  6.     {
  7.         printf("Neotvoreny subor\n");
  8.     }
  9.     meno_priezvisko[50] = fgets(meno_priezvisko, 51, sub);
  10.     printf("%s\n", meno_priezvisko);   
  11.    
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement