Borderou de evaluare (job #483698)

Utilizator avatar rolitzul Roland Garvasuc rolitzul IP ascuns
Problemă Diagonal (clasa a 6-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 18 aug. 2019 13:08:33 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function 'main': user.c:7:10: error: incompatible types when assigning to type 'FILE' from type 'struct FILE *' user.c:40:5: error: expected expression before '/' token user.c:65:13: error: incompatible type for argument 2 of 'fputc' /usr/include/stdio.h:579:12: note: expected 'struct FILE *' but argument is of type 'FILE' user.c:71:13: error: incompatible type for argument 2 of 'fputc' /usr/include/stdio.h:579:12: note: expected 'struct FILE *' but argument is of type 'FILE' user.c:76:5: error: incompatible type for argument 1 of 'fclose' /usr/include/stdio.h:238:12: note: expected 'struct FILE *' but argument is of type 'FILE'