Borderou de evaluare (job #425380)

Utilizator dead_knightTitei Paul Adrian dead_knight Data 25 martie 2010 18:20:44
Problema Buline Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9: error: 'int index' redeclared as different kind of symbol /usr/include/string.h:310: error: previous declaration of 'char* index(const char*, int)' user.cpp: In function 'int main()': user.cpp:28: error: assignment of function 'char* index(const char*, int)' user.cpp:28: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:34: error: assignment of function 'char* index(const char*, int)' user.cpp:34: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:37: error: invalid operands of types 'int' and 'char* ()(const char*, int)throw ()' to binary 'operator-' user.cpp:40: error: invalid types 'int [400005][char* ()(const char*, int)throw ()]' for array subscript user.cpp:40: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()' user.cpp:40: error: lvalue required as increment operand user.cpp:46: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'

Ceva nu functioneaza?