Borderou de evaluare (job #609212)

Utilizator SpiderManSimoiu Robert SpiderMan Data 20 august 2011 09:24:44
Problema Radare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8: error: 'int time [3005]' redeclared as different kind of symbol /usr/include/time.h:186: error: previous declaration of 'time_t time(time_t*)' user.cpp: In function 'int main()': user.cpp:36: error: pointer to a function used in arithmetic user.cpp:36: warning: format '%d' expects type 'int*', but argument 2 has type 'time_t (*)(time_t*)throw ()' user.cpp:44: error: pointer to a function used in arithmetic user.cpp:44: error: pointer to a function used in arithmetic user.cpp:44: error: ISO C++ forbids comparison between pointer and integer user.cpp:45: error: pointer to a function used in arithmetic user.cpp:45: error: pointer to a function used in arithmetic user.cpp:45: error: invalid types 'int [3505][time_t (*)(time_t*)throw ()]' for array subscript

Ceva nu functioneaza?