Borderou de evaluare (job #905573)

Utilizator superman_01Avramescu Cristian superman_01 Data 5 martie 2013 22:17:32
Problema Datorii Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:1:17: error: cstdio: No such file or directory user.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’ user.c: In function ‘update’: user.c:12: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:12: note: use option -std=c99 or -std=gnu99 to compile your code user.c: In function ‘query’: user.c:19: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c: In function ‘update1’: user.c:25: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c: In function ‘main’: user.c:32: warning: implicit declaration of function ‘freopen’ user.c:32: error: ‘stdin’ undeclared (first use in this function) user.c:32: error: (Each undeclared identifier is reported only once user.c:32: error: for each function it appears in.) user.c:33: error: ‘stdout’ undeclared (first use in this function) user.c:34: warning: implicit declaration of function ‘scanf’ user.c:34: warning: incompatible implicit declaration of built-in function ‘scanf’ user.c:35: error: expected declaration specifiers or ‘...’ before numeric constant user.c:35: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:35: warning: comparison between pointer and integer user.c:35: error: lvalue required as increment operand user.c:38: warning: passing argument 1 of ‘update’ makes integer from pointer without a cast user.c:10: note: expected ‘int’ but argument is of type ‘int (*)()’ user.c:41: error: expected declaration specifiers or ‘...’ before numeric constant user.c:41: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:41: warning: comparison between pointer and integer user.c:41: error: lvalue required as increment operand user.c:54: warning: implicit declaration of function ‘printf’ user.c:54: warning: incompatible implicit declaration of built-in function ‘printf’

Ceva nu functioneaza?