Borderou de evaluare (job #1144296)
Utilizator | Data | 16 martie 2014 21:08:18 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:1: error: ‘ifstream’ does not name a type
ifstream f("cifra.in");
^
user.cpp:7:1: error: ‘ofstream’ does not name a type
ofstream g("cifra.out");
^
user.cpp: In function ‘int main()’:
user.cpp:20:2: error: ‘f’ was not declared in this scope
f>>t1;
^
user.cpp:42:3: error: ‘g’ was not declared in this scope
g<<c<<endl;
^
user.cpp:42:9: error: ‘endl’ was not declared in this scope
g<<c<<endl;
^
user.cpp:42:9: note: suggested alternative:
In file included from /usr/local/include/c++/4.8.0/istream:39:0,
from /usr/local/include/c++/4.8.0/fstream:38,
from user.cpp:2:
/usr/local/include/c++/4.8.0/ostream:564:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !