Borderou de evaluare (job #451937)
Utilizator | Dobrota Valentin Eugen vdobrota | Data | 10 mai 2010 00:29:00 |
---|---|---|---|
Problema | Misiune | Status | done |
Runda | teme_upb | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:29: error: 'std::vector<int, std::allocator<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 'void articuleaza(int, int)':
user.cpp:54: error: pointer to a function used in arithmetic
user.cpp:54: error: assignment of read-only location
user.cpp:54: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment
user.cpp:62: error: pointer to a function used in arithmetic
user.cpp:62: error: ISO C++ forbids comparison between pointer and integer
user.cpp:67: error: pointer to a function used in arithmetic
user.cpp:67: error: ISO C++ forbids comparison between pointer and integer
user.cpp:71: error: pointer to a function used in arithmetic
user.cpp:71: error: ISO C++ forbids comparison between pointer and integer
user.cpp:72: error: pointer to a function used in arithmetic
user.cpp:72: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int'
user.cpp: In function 'int main()':
user.cpp:133: error: request for member 'push_back' in 'index', which is of non-class type 'char* ()(const char*, int)throw ()'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !