Borderou de evaluare (job #140728)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cezar (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 apr. 2015 10:42:00 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:4:1: warning: data definition has no type or storage class [enabled by default]
user.c:4:1: warning: type defaults to ‘int’ in declaration of ‘fin’ [-Wimplicit-int]
user.c:4:1: error: conflicting types for ‘fin’
user.c:3:6: note: previous declaration of ‘fin’ was here
user.c:4:5: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:4:1: error: initializer element is not constant
user.c:5:1: warning: data definition has no type or storage class [enabled by default]
user.c:5:1: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:5:1: error: conflicting types for ‘fout’
user.c:3:11: note: previous declaration of ‘fout’ was here
user.c:5:6: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:5:1: error: initializer element is not constant
user.c: In function ‘main’:
user.c:8:1: warning: passing argument 1 of ‘fgetc’ makes pointer from integer without a cast [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
user.c:11:9: error: ‘out’ 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:12:3: warning: passing argument 1 of ‘fgetc’ makes pointer from integer without a cast [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘int’
user.c:15:1: error: too few arguments to function ‘fputc’