Borderou de evaluare (job #60394)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fgetc (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 mar. 2014 11:37:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:5: error: too many arguments to function ‘fgetc’
/usr/include/stdio.h:537:12: note: declared here
user.c:8:5: warning: passing argument 1 of ‘fputc’ makes integer from pointer without a cast [enabled by default]
/usr/include/stdio.h:579:12: note: expected ‘int’ but argument is of type ‘struct FILE *’
user.c:8:5: warning: passing argument 2 of ‘fputc’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:579:12: note: expected ‘struct FILE *’ but argument is of type ‘char *’
user.c:8:5: error: too many arguments to function ‘fputc’