Borderou de evaluare (job #51897)

Utilizator pandaemonAndrei Popescu pandaemon Data 16 aprilie 2007 23:42:51
Problema Chiftea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31, from user.cpp:2: /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.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:22:8: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:16: error: expected `;' before 'if' user.cpp:17: error: expected primary-expression before 'else' user.cpp:17: error: expected `;' before 'else' user.cpp:18: error: expected primary-expression before 'else' user.cpp:18: error: expected `;' before 'else'

Ceva nu functioneaza?