Borderou de evaluare (job #134935)

Utilizator ConsstantinTabacu Raul Consstantin Data 12 februarie 2008 18:26:50
Problema Energii 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: In function 'int main()': user.cpp:23: error: no match for 'operator=' in 'c[1] = 0' user.cpp:2: note: candidates are: sir& sir::operator=(const sir&) user.cpp:23: error: no match for 'operator=' in 'c[2] = 1' user.cpp:2: note: candidates are: sir& sir::operator=(const sir&) user.cpp:24: error: no match for 'operator!' in '!c[j]' user.cpp:24: note: candidates are: operator!(bool) <built-in> user.cpp:25: error: no 'operator++(int)' declared for postfix '++', trying prefix operator instead user.cpp:25: error: no match for 'operator++' in '++c[1]' user.cpp:27: error: no match for 'operator==' in 'c[l] == 2' user.cpp:28: error: no match for 'operator=' in 'c[l] = 0' user.cpp:2: note: candidates are: sir& sir::operator=(const sir&) user.cpp:29: error: no 'operator++(int)' declared for postfix '++', trying prefix operator instead user.cpp:29: error: no match for 'operator++' in '++c[(l + 1)]' user.cpp:32: error: no match for 'operator==' in 'c[l] == 1'

Ceva nu functioneaza?