Borderou de evaluare (job #141027)

Utilizator timotei21Timotei Dolean timotei21 Data 22 februarie 2008 17:52:08
Problema CMMDC 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: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:21:2: warning: no newline at end of file user.cpp: In function 'long int cmmdc(long int, long int)': user.cpp:4: error: expected primary-expression before ')' token user.cpp: In function 'int main()': user.cpp:14: error: invalid operands of types 'std::ifstream ()()' and 'long int' to binary 'operator>>' user.cpp:15: error: request for member 'close' in 'fin', which is of non-class type 'std::ifstream ()()' user.cpp:16: error: 'cmmdc' cannot be used as a function user.cpp:18: error: invalid operands of types 'std::ofstream ()()' and 'long int' to binary 'operator<<' user.cpp:18: error: 'endl' was not declared in this scope user.cpp:19: error: request for member 'close' in 'fout', which is of non-class type 'std::ofstream ()()'

Ceva nu functioneaza?