Borderou de evaluare (job #472251)
Utilizator | Data | 23 iulie 2010 16:03:43 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:52:2: warning: no newline at end of file
user.cpp:6: 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:23: error: assignment of function 'char* index(const char*, int)'
user.cpp:23: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:27: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:27: error: lvalue required as increment operand
user.cpp:28: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int'
user.cpp:39: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:42: error: ISO C++ forbids comparison between pointer and integer
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !