Borderou de evaluare (job #498601)
Utilizator | Data | 5 noiembrie 2010 16:46:58 | |
---|---|---|---|
Problema | CMMDC | 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/fstream.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:23:2: warning: no newline at end of file
user.cpp:3: error: 'std::ifstream read' redeclared as different kind of symbol
/usr/include/unistd.h:327: error: previous declaration of 'ssize_t read(int, void*, size_t)'
user.cpp:4: error: 'std::ofstream write' redeclared as different kind of symbol
/usr/include/unistd.h:333: error: previous declaration of 'ssize_t write(int, const void*, size_t)'
user.cpp: In function 'int main()':
user.cpp:17: error: invalid operands of types 'ssize_t ()(int, void*, size_t)' and 'int' to binary 'operator>>'
user.cpp:20: error: invalid operands of types 'ssize_t ()(int, const void*, size_t)' and 'int' to binary 'operator<<'
user.cpp:21: error: invalid operands of types 'ssize_t ()(int, const void*, size_t)' and 'int' to binary 'operator<<'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !