Borderou de evaluare (job #288888)
Utilizator | Data | 26 martie 2009 10:29:59 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | aa | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp: In function 'int main()':
user.cpp:7: error: conflicting declaration 'char c [100]'
user.cpp:6: error: 'c' has a previous declaration as 'long long int c [1000]'
user.cpp:8: error: expected primary-expression before ']' token
user.cpp:8: error: expected primary-expression before '{' token
user.cpp:8: error: expected `;' before '{' token
user.cpp:9: warning: format '%ld' expects type 'long int*', but argument 3 has type 'long long int*'
user.cpp:12: error: 's' was not declared in this scope
user.cpp:13: warning: format '%s' expects type 'char*', but argument 3 has type 'long long int (*)[1000]'
user.cpp:14: error: cannot convert 'long long int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
user.cpp:17: error: cannot convert 'long long int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
user.cpp:20: warning: format '%ld' expects type 'long int', but argument 3 has type 'long long int'
user.cpp:6: warning: unused variable 'n'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !