Borderou de evaluare (job #1702820)

Utilizator ionut98Bejenariu Ionut Daniel ionut98 Data 15 mai 2016 16:30:52
Problema Text4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:1: error: ‘ifstream’ does not name a type ifstream fin("text4.in"); ^ user.cpp:6:1: error: ‘ofstream’ does not name a type ofstream fout("text4.out"); ^ user.cpp: In function ‘void afiseaza_linie(int)’: user.cpp:14:9: error: ‘fout’ was not declared in this scope fout<<cuv[i]<<' '; ^ user.cpp:22:13: error: ‘fout’ was not declared in this scope fout<<cuv[i]; ^ user.cpp:33:7: error: ‘fout’ was not declared in this scope fout<<cuv[nrl-1]<<endl; ^ user.cpp:33:25: error: ‘endl’ was not declared in this scope fout<<cuv[nrl-1]<<endl; ^ user.cpp:33:25: note: suggested alternative: In file included from /usr/include/c++/4.8/istream:39:0, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’ endl(basic_ostream<_CharT, _Traits>& __os) ^ user.cpp:35:7: error: ‘fout’ was not declared in this scope fout<<endl; ^ user.cpp:35:13: error: ‘endl’ was not declared in this scope fout<<endl; ^ user.cpp:35:13: note: suggested alternative: In file included from /usr/include/c++/4.8/istream:39:0, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’ endl(basic_ostream<_CharT, _Traits>& __os) ^ user.cpp: In function ‘void afiseaza_paragraf()’: user.cpp:43:21: error: ‘strtok’ was not declared in this scope p=strtok(prg," "); ^ user.cpp:46:23: error: ‘strlen’ was not declared in this scope LgCuv=strlen(p); ^ user.cpp:49:30: error: ‘strcpy’ was not declared in this scope strcpy(cuv[nrl],p); ^ user.cpp:58:28: error: ‘strcpy’ was not declared in this scope

Ceva nu functioneaza?