Borderou de evaluare (job #498603)

Utilizator marklarVasile Ion marklar Data 5 noiembrie 2010 16:49:48
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4: 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:5: 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:18: error: invalid operands of types 'ssize_t ()(int, 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<<' user.cpp:22: error: invalid operands of types 'ssize_t ()(int, const void*, size_t)' and 'int' to binary 'operator<<'

Ceva nu functioneaza?