Borderou de evaluare (job #480700)
Utilizator | Data | 29 august 2010 11:25:40 | |
---|---|---|---|
Problema | Invsc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6: error: 'int index [200002]' 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:44: error: pointer to a function used in arithmetic
user.cpp:44: error: assignment of read-only location
user.cpp:44: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:47: error: pointer to a function used in arithmetic
user.cpp:47: error: pointer to a function used in arithmetic
user.cpp:47: error: pointer to a function used in arithmetic
user.cpp:47: error: pointer to a function used in arithmetic
user.cpp:47: error: assignment of read-only location
user.cpp:47: error: cannot convert 'char* (*)(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:51: error: pointer to a function used in arithmetic
user.cpp:51: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:51: error: lvalue required as increment operand
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !