Borderou de evaluare (job #156478)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fracție (clasa a 6-a) | Compilator | c |
Rundă | Tema 1 clasa a 6-a | Status | evaluat |
Dată | 27 sept. 2015 17:09:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:6: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
user.c:8:3: error: incompatible type for argument 1 of ‘fscanf’
/usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:9:3: error: incompatible type for argument 1 of ‘fclose’
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’
user.c:19:7: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
user.c:20:3: 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:22:5: 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:41:7: 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:45:7: 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:49:9: 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:52:7: 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:55:3: error: incompatible type for argument 1 of ‘fclose’
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’
user.c:56:3: warning: statement with no effect [-Wunused-value]
user.c:56:3: error: expected ‘;’ at end of input
user.c:56:3: error: expected declaration or statement at end of input
user.c:56:3: warning: control reaches end of non-void function [-Wreturn-type]