Borderou de evaluare (job #810008)
Utilizator | Data | 9 noiembrie 2012 13:56:55 | |
---|---|---|---|
Problema | Schi | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:2:17: error: string: No such file or directory
user.c:3:19: error: iostream: No such file or directory
user.c:5:18: error: cstdlib: No such file or directory
user.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’
user.c: In function ‘main’:
user.c:39: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:39: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:43: error: redefinition of ‘i’
user.c:39: note: previous definition of ‘i’ was here
user.c:43: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:47: error: redefinition of ‘i’
user.c:43: note: previous definition of ‘i’ was here
user.c:47: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:52: error: ‘string’ undeclared (first use in this function)
user.c:52: error: (Each undeclared identifier is reported only once
user.c:52: error: for each function it appears in.)
user.c:52: error: expected ‘;’ before ‘a’
user.c:53: error: redefinition of ‘i’
user.c:47: note: previous definition of ‘i’ was here
user.c:53: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:55: warning: implicit declaration of function ‘itoa’
user.c:57: error: ‘a’ undeclared (first use in this function)
user.c:60: error: ‘cout’ undeclared (first use in this function)
user.c:35: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result
user.c:36: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result
user.c:37: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
user.c:41: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !