Borderou de evaluare (job #37995)

Utilizator Cristian_DragneaUnbekannte Name Cristian_Dragnea Data 25 martie 2007 13:15:11
Problema Bowling 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:6: error: expected constructor, destructor, or type conversion before ';' token user.cpp:7: error: expected constructor, destructor, or type conversion before ';' token user.cpp:12: error: '::main' must return 'int' user.cpp: In function 'int main()': user.cpp:17: error: 'num' was not declared in this scope user.cpp:17: error: expected primary-expression before ']' token user.cpp:18: error: 'pos' was not declared in this scope user.cpp:13: warning: unused variable 'n' user.cpp:13: warning: unused variable 'nar' user.cpp:13: warning: unused variable 'fum' user.cpp: In function 'int numar_popice(int*, int&, int&)': user.cpp:27: error: declaration of 'int n' shadows a parameter

Ceva nu functioneaza?