Borderou de evaluare (job #279241)
Utilizator | Data | 12 martie 2009 18:54:18 | |
---|---|---|---|
Problema | Swap | Status | done |
Runda | Arhiva de probleme | 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:8: error: '::main' must return 'int'
/usr/include/unistd.h: In function 'int main()':
/usr/include/unistd.h:327: error: too few arguments to function 'ssize_t read(int, void*, size_t)'
user.cpp:10: error: at this point in file
user.cpp:11: error: cannot convert 'int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
user.cpp:11: error: cannot convert 'int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
user.cpp:14: error: 'calculare' was not declared in this scope
user.cpp:15: error: expected primary-expression before '>' token
user.cpp:22: error: a function-definition is not allowed here before '{' token
user.cpp:28: error: a function-definition is not allowed here before '{' token
user.cpp:52: error: expected `}' at end of input
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !