Borderou de evaluare (job #603889)
Utilizator | Data | 19 iulie 2011 06:06:33 | |
---|---|---|---|
Problema | Dartz | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/fstream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:4: error: 'long int index' redeclared as different kind of symbol
/usr/include/string.h:488: error: previous declaration of 'char* index(const char*, int)'
user.cpp: In function 'long int initializare()':
user.cpp:9: error: assignment of function 'char* index(const char*, int)'
user.cpp:9: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:9: error: pointer to a function used in arithmetic
user.cpp:9: error: invalid types 'long int [343][char* (*)(const char*, int)throw ()]' for array subscript
user.cpp:9: error: ISO C++ forbids incrementing a pointer of type 'char* (*)(const char*, int)throw ()'
user.cpp:9: error: lvalue required as increment operand
user.cpp:11: error: invalid types 'long int [343][char* ()(const char*, int)throw ()]' for array subscript
user.cpp:11: error: pointer to a function used in arithmetic
user.cpp:11: error: invalid operands of types 'char* ()(const char*, int)throw ()' and 'char* (*)(const char*, int)throw ()' to binary 'operator*'
user.cpp:11: error: pointer to a function used in arithmetic
user.cpp:13: error: pointer to a function used in arithmetic
user.cpp:13: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'long int'
user.cpp: In function 'int main()':
user.cpp:34: warning: unused variable 'j'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !