Borderou de evaluare (job #17120)

Utilizator bad_boy_ovidiuBuda Ovidiu bad_boy_ovidiu Data 14 februarie 2007 21:34:09
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:2: error: `ios' was not declared in this scope user.cpp:2: error: parse error before `::' token user.cpp:3: error: `ios' was not declared in this scope user.cpp:3: error: parse error before `::' token user.cpp:6: error: `main' must return `int' user.cpp:6: error: return type for `main' changed to `int' user.cpp: In function `int main(...)': user.cpp:7: error: invalid operands of types `std::fstream ()(...)' and `long int' to binary `operator>>' user.cpp:9: error: invalid operands of types `std::fstream ()(...)' and `long int' to binary `operator<<'

Ceva nu functioneaza?