Borderou de evaluare (job #157969)

Utilizator mihai90mihai ionescu mihai90 Data 13 martie 2008 13:17:46
Problema Joctv 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:5: error: expected constructor, destructor, or type conversion before ',' token user.cpp:5: error: expected constructor, destructor, or type conversion before ',' token user.cpp:5: error: expected constructor, destructor, or type conversion before '=' token user.cpp: In function 'int get_sum(int, int, int, int)': user.cpp:9: error: 'sum' was not declared in this scope user.cpp: In function 'void calc()': user.cpp:15: error: 'N' was not declared in this scope user.cpp:17: error: 'sum' was not declared in this scope user.cpp:20: error: 'N' was not declared in this scope user.cpp:26: error: 'rez' was not declared in this scope user.cpp: In function 'int main()': user.cpp:35: error: 'N' was not declared in this scope user.cpp:43: error: 'rez' was not declared in this scope

Ceva nu functioneaza?