Borderou de evaluare (job #472250)
Utilizator | Data | 23 iulie 2010 16:01:44 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:51:2: warning: no newline at end of file
user.cpp:5: 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:22: error: assignment of function 'char* index(const char*, int)'
user.cpp:22: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
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:27: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'unsigned int'
user.cpp:38: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp:41: 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 !