Borderou de evaluare (job #1357112)

Utilizator theo.stoicanTheodor Stoican theo.stoican Data 23 februarie 2015 19:34:30
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘extract_keys’: user.c:46:15: error: ‘outfile’ undeclared (first use in this function) fputc (",", outfile); ^ user.c:46:15: note: each undeclared identifier is reported only once for each function it appears in user.c:46:3: warning: passing argument 1 of ‘fputc’ makes integer from pointer without a cast [enabled by default] fputc (",", outfile); ^ In file included from user.c:1:0: /usr/include/stdio.h:579:12: note: expected ‘int’ but argument is of type ‘char *’ extern int fputc (int __c, FILE *__stream); ^ user.c: In function ‘extract_val’: user.c:80:3: warning: passing argument 1 of ‘fputc’ makes integer from pointer without a cast [enabled by default] if (strchr (p, '}') != NULL) fputc ("\n", out_file); ^ In file included from user.c:1:0: /usr/include/stdio.h:579:12: note: expected ‘int’ but argument is of type ‘char *’ extern int fputc (int __c, FILE *__stream); ^

Ceva nu functioneaza?