Borderou de evaluare (job #149499)

Utilizator hazegirlCatalina Predoi hazegirl Data 5 martie 2008 20:04:13
Problema Nunta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:2: /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:23:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:7: error: conflicting declaration 'std::ifstream f' user.cpp:6: error: 'f' has a previous declaration as 'int f' user.cpp:9: warning: statement has no effect user.cpp:18: error: 'back' was not declared in this scope user.cpp:20: error: request for member 'close' in 'f', which is of non-class type 'int'

Ceva nu functioneaza?