Borderou de evaluare (job #534554)

Utilizator orianaOriana oriana Data 15 februarie 2011 20:37:21
Problema Text 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/iomanip.h:31, from user.cpp:56: /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:32: error: redefinition of 'std::ifstream f' user.cpp:6: error: 'std::ifstream f' previously declared here user.cpp:33: error: redefinition of 'std::ofstream g' user.cpp:7: error: 'std::ofstream g' previously declared here user.cpp:34: error: redefinition of 'int i' user.cpp:8: error: 'int i' previously defined here user.cpp:34: error: redefinition of 'int ok' user.cpp:8: error: 'int ok' previously declared here user.cpp:34: error: redefinition of 'int s' user.cpp:8: error: 'int s' previously declared here user.cpp:34: error: redefinition of 'int c' user.cpp:8: error: 'int c' previously declared here user.cpp:35: error: redefinition of 'char v' user.cpp:9: error: 'char v' previously declared here user.cpp: In function 'int main()': user.cpp:36: error: redefinition of 'int main()' user.cpp:10: error: 'int main()' previously defined here user.cpp: At global scope: user.cpp:58: error: redefinition of 'std::ifstream f' user.cpp:6: error: 'std::ifstream f' previously declared here user.cpp:59: error: redefinition of 'std::ofstream g' user.cpp:7: error: 'std::ofstream g' previously declared here user.cpp:60: error: redefinition of 'int i' user.cpp:8: error: 'int i' previously defined here user.cpp:60: error: redefinition of 'int ok' user.cpp:8: error: 'int ok' previously declared here user.cpp:60: error: redefinition of 'int s' user.cpp:8: error: 'int s' previously declared here user.cpp:60: error: redefinition of 'int c' user.cpp:8: error: 'int c' previously declared here user.cpp:61: error: redefinition of 'char v' user.cpp:9: error: 'char v' previously declared here user.cpp: In function 'int main()': user.cpp:62: error: redefinition of 'int main()' user.cpp:10: error: 'int main()' previously defined here

Ceva nu functioneaza?