Borderou de evaluare (job #1038395)

Utilizator RaduStefanFMI - Radu Stefan RaduStefan Data 21 noiembrie 2013 14:33:40
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:17: error: ‘stdl’ is not a namespace-name using namespace stdl ^ user.cpp:8:1: error: expected namespace-name before ‘int’ int main() ^ user.cpp:8:1: error: expected ‘;’ before ‘int’ user.cpp: In function ‘int main()’: user.cpp:16:1: error: ‘ifstream’ was not declared in this scope ifstream fcin("dir.in"); ^ user.cpp:16:1: 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:16:10: error: expected ‘;’ before ‘fcin’ ifstream fcin("dir.in"); ^ user.cpp:18:1: error: ‘ofstream’ was not declared in this scope ofstream fcout("dir.out"); ^ user.cpp:18:1: 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:18:10: error: expected ‘;’ before ‘fcout’ ofstream fcout("dir.out"); ^ user.cpp:20:1: error: ‘fcin’ was not declared in this scope fcin.get(s,1601); ^ user.cpp:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<=strlen(s)-1;i++) ^ user.cpp:50:1: error: ‘cout’ was not declared in this scope cout<<t[n]<<"\n"; ^ user.cpp:50:1: note: suggested alternative: In file included from user.cpp:1:0: /usr/local/include/c++/4.8.0/iostream:61:18: note: ‘std::cout’ extern ostream cout; /// Linked to standard output ^

Ceva nu functioneaza?