Borderou de evaluare (job #6949)

Utilizator hazegirlCatalina Predoi hazegirl Data 21 ianuarie 2007 11:06:17
Problema Aprindere Status done
Runda preONI 2007, Runda 1, Clasa a 9-a si gimnaziu 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:3: error: `main' must return `int' user.cpp:3: error: return type for `main' changed to `int' user.cpp: In function `int main(...)': user.cpp:4: error: `ios' undeclared (first use this function) user.cpp:4: error: (Each undeclared identifier is reported only once for each function it appears in.) user.cpp:4: error: parse error before `::' token user.cpp:5: error: parse error before `::' token user.cpp:6: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:8: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:10: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:12: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:14: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:16: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:21: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>'

Ceva nu functioneaza?