Borderou de evaluare (job #1076410)

Utilizator Andrei1998Andrei Constantinescu Andrei1998 Data 10 ianuarie 2014 10:11:07
Problema Paritate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:5: error: ‘ifstream’ was not declared in this scope ifstream cin("paritate.in"); ^ user.cpp:8:14: error: expected ‘;’ before ‘cin’ ifstream cin("paritate.in"); ^ user.cpp:9:5: error: ‘ofstream’ was not declared in this scope ofstream cout("paritate.out"); ^ user.cpp:9:14: error: expected ‘;’ before ‘cout’ ofstream cout("paritate.out"); ^ user.cpp:19:5: error: expected ‘,’ or ‘;’ before ‘cin’ cin.get(sir,600005); ^ user.cpp:36:17: error: ‘cout’ was not declared in this scope cout<<"NU"<<endl; ^ user.cpp:36:29: error: ‘endl’ was not declared in this scope cout<<"NU"<<endl; ^ user.cpp:38:13: error: ‘cout’ was not declared in this scope cout<<i/8<<' '; ^ user.cpp:46:9: error: ‘cout’ was not declared in this scope cout<<"DA"<<endl; ^ user.cpp:46:21: error: ‘endl’ was not declared in this scope cout<<"DA"<<endl; ^ user.cpp:52:5: error: ‘cin’ was not declared in this scope cin.close(); ^ user.cpp:53:5: error: ‘cout’ was not declared in this scope cout.close(); ^ user.cpp:17:10: warning: unused variable ‘curent’ [-Wunused-variable] char curent=0 ^

Ceva nu functioneaza?