SHARE
TWEET

Untitled

a guest May 19th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define NAME_SIZE 20
  2.  
  3.  
  4.  
  5. ....
  6.  
  7.  
  8.  
  9. int N, a,b,c,d;
  10.  
  11. char *Onoma, *Epitheto;
  12.  
  13.  
  14.  
  15. .......
  16.  
  17. Onoma = (char *) calloc(NAME_SIZE, sizeof(char));
  18.  
  19. Epitheto = (char *) calloc(NAME_SIZE, sizeof(char));
  20.  
  21.  
  22.  
  23. fscanf("%d", &N);
  24.  
  25. for (int i =0 ; i<N; i++){
  26.  
  27.     fscanf(in, "%s%s", Onoma, Epitheto);
  28.  
  29.     fscanf(in, "%d%d%d%d", &a, &b, &c, &d);
  30.  
  31. }
RAW Paste Data
Want to get better at C?
Learn to code C in 2017
Top