Borderou de evaluare (job #424673)
Utilizator | Data | 25 martie 2010 08:09:34 | |
---|---|---|---|
Problema | Secventa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:27:2: warning: no newline at end of file
user.cpp:7: 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:25: error: pointer to a function used in arithmetic
user.cpp:25: error: pointer to a function used in arithmetic
user.cpp:25: warning: format '%d' expects type 'int', but argument 2 has type 'char* (*)(const char*, int)throw ()'
user.cpp:25: warning: format '%d' expects type 'int', but argument 3 has type 'char* (*)(const char*, int)throw ()'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !