Borderou de evaluare (job #1552005)
Utilizator | Data | 16 decembrie 2015 23:49:43 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.8/iostream:39:0,
from user.cpp:1:
/usr/include/c++/4.8/ostream: In function ‘int main()’:
/usr/include/c++/4.8/ostream:384:7: error: ‘std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char; _Traits = std::char_traits<char>]’ is protected
basic_ostream()
^
user.cpp:15:10: error: within this context
ostream outfile;
^
user.cpp:16:10: error: ‘std::ostream’ has no member named ‘open’
outfile.open ("adunare.out");
^
user.cpp:18:10: error: ‘std::ostream’ has no member named ‘close’
outfile.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !