Borderou de evaluare (job #355)

Utilizator lily_ac_milanAdelina Toma lily_ac_milan Data 11 decembrie 2006 08:22:01
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/3.3/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/3.3/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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. user.cpp: In function `int main()': user.cpp:6: error: conflicting types for `std::ofstream f' user.cpp:5: error: previous declaration as `std::ifstream f' user.cpp:7: error: no match for 'operator>>' in 'f >> a' user.cpp:8: error: `g' undeclared (first use this function) user.cpp:8: error: (Each undeclared identifier is reported only once for each function it appears in.) user.cpp:6: warning: statement with no effect user.cpp:6: confused by earlier errors, bailing out

Ceva nu functioneaza?