Borderou de evaluare (job #119173)

Utilizator pandaemonAndrei Popescu pandaemon Data 29 decembrie 2007 19:09:45
Problema Luna 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/iostream.h:31, from user.cpp:2: /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:70:3: warning: no newline at end of file user.cpp: In function 'void citire()': user.cpp:13: warning: format '%d' expects type 'int*', but argument 2 has type 'short int*' user.cpp: In function 'void adauga(int, int, int)': user.cpp:17: error: return-statement with a value, in function returning 'void' user.cpp: At global scope: user.cpp:20: error: expected declaration before '}' token

Ceva nu functioneaza?