Borderou de evaluare (job #795219)

Utilizator taigi100Cazacu Robert taigi100 Data 7 octombrie 2012 20:42:18
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:1:20: error: stdio.h : No such file or directory user.c:2:20: error: iostream: No such file or directory user.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’ user.c: In function ‘cautare’: user.c:13: warning: array subscript has type ‘char’ user.c:25: warning: array subscript has type ‘char’ user.c:31: warning: array subscript has type ‘char’ user.c: In function ‘main’: user.c:41: warning: implicit declaration of function ‘freopen’ user.c:41: error: ‘stdin’ undeclared (first use in this function) user.c:41: error: (Each undeclared identifier is reported only once user.c:41: error: for each function it appears in.) user.c:42: error: ‘stdout’ undeclared (first use in this function) user.c:45: warning: implicit declaration of function ‘scanf’ user.c:45: warning: incompatible implicit declaration of built-in function ‘scanf’ user.c:49: warning: implicit declaration of function ‘printf’ user.c:49: warning: incompatible implicit declaration of built-in function ‘printf’ user.c:50: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:50: note: use option -std=c99 or -std=gnu99 to compile your code

Ceva nu functioneaza?