Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define NAME_SIZE 20
- ....
- int N, a,b,c,d;
- char *Onoma, *Epitheto;
- .......
- Onoma = (char *) calloc(NAME_SIZE, sizeof(char));
- Epitheto = (char *) calloc(NAME_SIZE, sizeof(char));
- fscanf("%d", &N);
- for (int i =0 ; i<N; i++){
- fscanf(in, "%s%s", Onoma, Epitheto);
- fscanf(in, "%d%d%d%d", &a, &b, &c, &d);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement