Borderou de evaluare (job #1786097)

Utilizator Costin23Sin Costin Costin23 Data 22 octombrie 2016 13:20:42
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:16:1: error: ‘ofstream’ does not name a type ofstream g(Fout); ^ user.cpp: In function ‘void rezolvare()’: user.cpp:80:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] char *bkslash="\\"; ^ user.cpp: In function ‘void afisare()’: user.cpp:113:3: error: ‘g’ was not declared in this scope g<<NrSol<<'\n'; ^ user.cpp: In function ‘void citire()’: user.cpp:121:3: error: ‘ifstream’ was not declared in this scope ifstream f(Fin); ^ user.cpp:121:3: note: suggested alternative: In file included from /usr/include/c++/4.8/ios:38:0, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:3: /usr/include/c++/4.8/iosfwd:157:34: note: ‘std::ifstream’ typedef basic_ifstream<char> ifstream; ^ user.cpp:121:12: error: expected ‘;’ before ‘f’ ifstream f(Fin); ^ user.cpp:122:3: error: ‘f’ was not declared in this scope f.get(Sir,3000,'\n'); ^ user.cpp: In function ‘void init()’: user.cpp:129:7: warning: unused variable ‘i’ [-Wunused-variable] int i; ^

Ceva nu functioneaza?