Borderou de evaluare (job #412137)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Minnrk (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 dec. 2018 17:00:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:6: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
user.c:11:7: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
user.c:12:3: error: incompatible type for argument 1 of ‘fgetc’
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’
user.c:16:5: error: incompatible type for argument 1 of ‘fgetc’
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’
user.c:18:3: error: incompatible type for argument 1 of ‘fscanf’
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:19:3: error: incompatible type for argument 1 of ‘fclose’
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’
user.c:24:7: error: incompatible type for argument 1 of ‘fprintf’
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:33:7: error: incompatible type for argument 1 of ‘fprintf’
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:38:3: error: incompatible type for argument 1 of ‘fprintf’
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:39:3: error: incompatible type for argument 1 of ‘fclose’
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’