Borderou de evaluare (job #252571)

Utilizator florin.moldovanuFlorin M florin.moldovanu Data 4 februarie 2009 17:00:03
Problema Paritate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /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: In function 'int main()': user.cpp:9: error: cannot convert 'FILE*' to 'const char*' for argument '1' to 'FILE* fopen(const char*, const char*)' user.cpp:33: error: request for member 'close' in 'f', which is of non-class type 'FILE*' user.cpp:34: error: request for member 'close' in 'g', which is of non-class type 'FILE*'

Ceva nu functioneaza?