Borderou de evaluare (job #1130350)

Utilizator helmutSiegel Helmut helmut Data 28 februarie 2014 12:42:35
Problema Plopi 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:11:2: error: ‘ifstream’ was not declared in this scope ifstream g("plopi.in"); ^ user.cpp:11:2: note: suggested alternative: In file included from /usr/local/include/c++/4.8.0/ios:38:0, from /usr/local/include/c++/4.8.0/ostream:38, from /usr/local/include/c++/4.8.0/iostream:39, from user.cpp:1: /usr/local/include/c++/4.8.0/iosfwd:157:34: note: ‘std::ifstream’ typedef basic_ifstream<char> ifstream; ^ user.cpp:11:11: error: expected ‘;’ before ‘g’ ifstream g("plopi.in"); ^ user.cpp:13:2: error: ‘g’ was not declared in this scope g>>n; ^ user.cpp:40:2: error: ‘ofstream’ was not declared in this scope ofstream h("plopi.out"); ^ user.cpp:40:2: note: suggested alternative: In file included from /usr/local/include/c++/4.8.0/ios:38:0, from /usr/local/include/c++/4.8.0/ostream:38, from /usr/local/include/c++/4.8.0/iostream:39, from user.cpp:1: /usr/local/include/c++/4.8.0/iosfwd:160:34: note: ‘std::ofstream’ typedef basic_ofstream<char> ofstream; ^ user.cpp:40:11: error: expected ‘;’ before ‘h’ ofstream h("plopi.out"); ^ user.cpp:41:2: error: ‘h’ was not declared in this scope h<<hany/2; ^

Ceva nu functioneaza?