Borderou de evaluare (job #119386)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bomboane 1 (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 feb. 2015 11:15:00 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:6:5: error: unknown type name ‘FLE’
user.c:7:9: warning: assignment from incompatible pointer type [enabled by default]
user.c:8:10: warning: assignment from incompatible pointer type [enabled by default]
user.c:12:5: warning: passing argument 1 of ‘fgetc’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘int *’
user.c:19:11: error: ‘nr’ undeclared (first use in this function)
user.c:19:11: note: each undeclared identifier is reported only once for each function it appears in
user.c:46:7: warning: passing argument 1 of ‘fgetc’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘int *’
user.c:48:5: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default]
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int *’
user.c:9:9: warning: unused variable ‘n’ [-Wunused-variable]