Borderou de evaluare (job #6435)

Utilizator dragos_dDiaconescu Dragos dragos_d Data 19 ianuarie 2007 15:49:40
Problema Granita 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:10: error: `ios' was not declared in this scope user.cpp:10: error: parse error before `::' token user.cpp:11: error: `ios' was not declared in this scope user.cpp:11: error: parse error before `::' token user.cpp: In function `int main()': user.cpp:15: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator>>' user.cpp:18: error: invalid operands of types `std::fstream ()(...)' and `long unsigned int' to binary `operator>>' user.cpp:19: error: invalid operands of types `std::fstream ()(...)' and `long unsigned int' to binary `operator>>' user.cpp:21: error: request for member `close' in `f', which is of non-aggregate type `std::fstream ()(...)' user.cpp:40: error: invalid operands of types `std::fstream ()(...)' and `int' to binary `operator<<' user.cpp:41: error: request for member `close' in `g', which is of non-aggregate type `std::fstream ()(...)'

Ceva nu functioneaza?