Borderou de evaluare (job #23033)

Utilizator AddYAdrian AddY Data 27 februarie 2007 22:35:45
Problema CMMDC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/iostream.h:31, from user.cpp:1: /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:3: warning: ISO C++ forbids declaration of 'main' with no type user.cpp: In function 'int main()': user.cpp:8: error: 'ok' was not declared in this scope user.cpp:10: error: 'x' was not declared in this scope user.cpp:10: error: expected `;' before '}' token user.cpp:11: error: 'ok' was not declared in this scope

Ceva nu functioneaza?