Borderou de evaluare (job #90834)

Utilizator avatar teod12 Alexandrescu Teodora teod12 IP ascuns
Problemă Comune (clasa a 5-a) Compilator c
Rundă Tema 15 clasa 5 Status evaluat
Dată 21 nov. 2014 11:27:44 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:11:9: error: ‘i’ undeclared (first use in this function) user.c:11:9: note: each undeclared identifier is reported only once for each function it appears in user.c:31:5: warning: passing argument 1 of ‘fclose’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘char *’ user.c:31:5: error: too many arguments to function ‘fclose’ /usr/include/stdio.h:238:12: note: declared here user.c:31:9: warning: assignment makes pointer from integer without a cast [enabled by default] user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]