Borderou de evaluare (job #37777)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fgetc (clasa a 5-a) | Compilator | c |
Rundă | Tema 18 clasa a 5-a | Status | evaluat |
Dată | 17 dec. 2013 09:56:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:8: warning: assignment from incompatible pointer type [enabled by default]
user.c:9:9: warning: assignment from incompatible pointer type [enabled by default]
user.c:10:5: warning: passing argument 1 of ‘fgetc’ makes pointer from integer without a cast [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
user.c:10:5: error: too many arguments to function ‘fgetc’
/usr/include/stdio.h:537:12: note: declared here
user.c:11: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 *’