Borderou de evaluare (job #303710)

Utilizator cristiprgPrigoana Cristian cristiprg Data 10 aprilie 2009 11:28:19
Problema Reactivi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8: error: 'int index [8005]' 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 divide(int, int)': user.cpp:100: error: pointer to a function used in arithmetic user.cpp:100: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:108: error: pointer to a function used in arithmetic user.cpp:108: error: pointer to a function used in arithmetic user.cpp:108: error: assignment of read-only location user.cpp:108: error: cannot convert 'char* ()(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:116: error: pointer to a function used in arithmetic user.cpp:116: error: pointer to a function used in arithmetic user.cpp:116: error: assignment of read-only location user.cpp:116: error: cannot convert 'char* ()(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:124: error: pointer to a function used in arithmetic user.cpp:124: error: assignment of read-only location user.cpp:124: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp: In function 'int divide2(int, int)': user.cpp:143: error: pointer to a function used in arithmetic user.cpp:143: error: invalid conversion from 'char* (*)(const char*, int)throw ()' to 'int' user.cpp:151: error: pointer to a function used in arithmetic user.cpp:151: error: pointer to a function used in arithmetic user.cpp:151: error: assignment of read-only location user.cpp:151: error: cannot convert 'char* ()(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:159: error: pointer to a function used in arithmetic user.cpp:159: error: pointer to a function used in arithmetic user.cpp:159: error: assignment of read-only location user.cpp:159: error: cannot convert 'char* ()(const char*, int)throw ()' to 'char* ()(const char*, int)throw ()' in assignment user.cpp:167: error: pointer to a function used in arithmetic user.cpp:167: error: assignment of read-only location user.cpp:167: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment user.cpp: In function 'int main()': user.cpp:189: error: pointer to a function used in arithmetic user.cpp:189: error: assignment of read-only location user.cpp:189: error: cannot convert 'int' to 'char* ()(const char*, int)throw ()' in assignment

Ceva nu functioneaza?