Borderou de evaluare (job #552332)

Utilizator GrimpowRadu Andrei Grimpow Data 12 martie 2011 09:44:19
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/iostream.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:44: error: conflicting declaration 'std::ofstream g' user.cpp:37: error: 'g' has a previous declaration as 'FILE* g' user.cpp:55: error: invalid operands of types 'FILE*' and 'int' to binary 'operator<<' user.cpp:57: error: invalid operands of types 'FILE*' and 'int' to binary 'operator<<' user.cpp:58: error: request for member 'close' in 'g', which is of non-class type 'FILE*' user.cpp:31: warning: unused variable 'c'

Ceva nu functioneaza?