Borderou de evaluare (job #154649)

Utilizator SofinetiSofineti Mihai Sofineti Data 11 martie 2008 12:50:25
Problema Combinari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare in evaluator: In file included from /usr/include/c++/4.2/backward/iostream.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: In function 'void tip(int)': user.cpp:6: warning: format '%ld' expects type 'long int', but argument 2 has type 'int' user.cpp: At global scope: user.cpp:27: error: '::main' must return 'int' user.cpp: In function 'int main()': user.cpp:31: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*' user.cpp:31: warning: format '%ld' expects type 'long int*', but argument 3 has type 'int*'

Ceva nu functioneaza?