Borderou de evaluare (job #234302)

Utilizator time4fun_92Coana Mihai Ionut time4fun_92 Data 20 decembrie 2008 17:33:17
Problema Gropi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: 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:6: error: 'int j0' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:238: error: previous declaration of 'double j0(double)' user.cpp:6: error: 'int j1' redeclared as different kind of symbol /usr/include/bits/mathcalls.h:239: error: previous declaration of 'double j1(double)' user.cpp: In function 'int main()': user.cpp:22: error: ambiguous overload for 'operator>>' in 'f.std::basic_ifstream<char, std::char_traits<char> >::<anonymous>.std::basic_istream<_CharT, _Traits>::operator>> [with _CharT = char, _Traits = std::char_traits<char>](((int&)(& i0))) >> j0' /usr/include/c++/4.2/istream:131: note: candidates are: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>& (*)(std::basic_istream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/4.2/istream:135: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_ios<_CharT, _Traits>& (*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> /usr/include/c++/4.2/istream:142: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match> user.cpp:23: error: invalid conversion from 'double (*)(double)throw ()' to 'int' user.cpp:23: error: assignment of function 'double j0(double)' user.cpp:23: error: cannot convert 'double ()(double)throw ()' to 'double ()(double)throw ()' in assignment user.cpp:23: error: assignment of function 'double j1(double)' user.cpp:23: error: cannot convert 'int' to 'double ()(double)throw ()' in assignment user.cpp:24: error: ISO C++ forbids using pointer to a function in subtraction user.cpp:25: error: ISO C++ forbids comparison between pointer and integer user.cpp:27: error: ISO C++ forbids comparison between pointer and integer user.cpp:33: error: 'endl' was not declared in this scope

Ceva nu functioneaza?