Borderou de evaluare (job #3667)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Balaur (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 nov. 2012 07:57:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:10:21: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:10:11: error: lvalue required as left operand of assignment
user.c:13:9: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
user.c:14:4: error: incompatible type for argument 1 of ‘fprintf’
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:15:4: error: incompatible type for argument 1 of ‘fclose’
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’