Borderou de evaluare (job #294698)

Utilizator bugyBogdan Vlad bugy Data 2 aprilie 2009 18:28:13
Problema Multimi2 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:42:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:8: error: conflicting declaration 'int g' user.cpp:7: error: 'g' has a previous declaration as 'std::ofstream g' user.cpp:13: error: no match for 'operator!=' in 'g != n' user.cpp:20: error: no match for 'operator=' in 'g = (g1 + g2)' /usr/include/c++/4.2/iosfwd:92: note: candidates are: std::basic_ofstream<char, std::char_traits<char> >& std::basic_ofstream<char, std::char_traits<char> >::operator=(const std::basic_ofstream<char, std::char_traits<char> >&) user.cpp:23: error: no match for 'operator==' in 'g == n'

Ceva nu functioneaza?