Borderou de evaluare (job #768976)
Utilizator | Data | 17 iulie 2012 23:26:26 | |
---|---|---|---|
Problema | Joben | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8: error: ‘std::ifstream read’ redeclared as different kind of symbol
/usr/include/bits/unistd.h:35: error: previous declaration of ‘ssize_t read(int, void*, size_t)’
user.cpp: In function ‘bool process(std::string, std::string)’:
user.cpp:16: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘int main()’:
user.cpp:27: error: ‘std::string’ is not a template
user.cpp:29: error: invalid operands of types ‘ssize_t(int, void*, size_t)’ and ‘int’ to binary ‘operator>>’
user.cpp:30: error: request for member ‘get’ in ‘read’, which is of non-class type ‘ssize_t(int, void*, size_t)’
user.cpp:33: error: cannot convert ‘ssize_t (*)(int, void*, size_t)’ to ‘char**’ for argument ‘1’ to ‘__ssize_t getline(char**, size_t*, FILE*)’
user.cpp:34: error: cannot convert ‘ssize_t (*)(int, void*, size_t)’ to ‘char**’ for argument ‘1’ to ‘__ssize_t getline(char**, size_t*, FILE*)’
user.cpp:41: error: request for member ‘close’ in ‘read’, which is of non-class type ‘ssize_t(int, void*, size_t)’
user.cpp:26: warning: unused variable ‘j’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !