Borderou de evaluare (job #375849)

Utilizator Alex963Alexandru Clapa Alex963 Data 20 decembrie 2009 12:48:35
Problema Popularitate Status done
Runda Algoritmiada 2010, Runda 2, Clasele 5-8 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:40:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:6: error: conflicting declaration 'std::ofstream g' user.cpp:4: error: 'g' has a previous declaration as 'long int g' user.cpp:8: error: request for member 'open' in 'g', which is of non-class type 'long int' user.cpp:17: error: 'a' was not declared in this scope user.cpp:20: error: 'b' was not declared in this scope user.cpp:28: error: 'b' was not declared in this scope user.cpp:29: error: 'aux' was not declared in this scope user.cpp:36: error: 'b' was not declared in this scope user.cpp:38: error: request for member 'close' in 'g', which is of non-class type 'long int'

Ceva nu functioneaza?