Borderou de evaluare (job #532543)
Utilizator | Data | 11 februarie 2011 21:39:21 | |
---|---|---|---|
Problema | Statistici de ordine | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14: 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:26: error: assignment of function 'char* index(const char*, int)'
user.cpp:26: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:26: error: ISO C++ forbids comparison between pointer and integer
user.cpp:26: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:26: error: lvalue required as increment operand
user.cpp:55: error: assignment of function 'char* index(const char*, int)'
user.cpp:55: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:58: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:58: error: lvalue required as increment operand
user.cpp:60: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:64: error: assignment of function 'char* index(const char*, int)'
user.cpp:64: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:64: error: ISO C++ forbids comparison between pointer and integer
user.cpp:64: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:64: error: lvalue required as increment operand
user.cpp:66: error: invalid types 'std::vector<pr*, std::allocator<pr*> > [3000003][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:68: error: invalid types 'std::vector<pr*, std::allocator<pr*> > [3000003][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:70: error: invalid types 'std::vector<pr*, std::allocator<pr*> > [3000003][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:70: error: invalid types 'std::vector<pr*, std::allocator<pr*> > [3000003][char* ()(const char*, int)throw ()]' for array subscript
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !