Borderou de evaluare (job #650899)

Utilizator daniel.burgheleaDaniel Burghelea daniel.burghelea Data 19 decembrie 2011 08:38:28
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FILE’ user.c:6: error: ‘fin’ undeclared (first use in this function) user.c:6: error: (Each undeclared identifier is reported only once user.c:6: error: for each function it appears in.) user.c:7: error: ‘fout’ undeclared (first use in this function) user.c:8: error: ‘n’ undeclared (first use in this function) user.c:25: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type /usr/include/bits/stdio2.h:96: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:25: error: too few arguments to function ‘fprintf’

Ceva nu functioneaza?