Borderou de evaluare (job #2236951)
Utilizator | Data | 31 august 2018 01:25:34 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Lista lui wefgef | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:5: error: ‘ifstream’ was not declared in this scope
ifstream cin ("adunare.in");
^~~~~~~~
user.cpp:5:5: note: suggested alternative:
In file included from /usr/include/c++/6/ios:38:0,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from user.cpp:1:
/usr/include/c++/6/iosfwd:162:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^~~~~~~~
user.cpp:6:5: error: ‘ofstream’ was not declared in this scope
ofstream cout ("adunare.out");
^~~~~~~~
user.cpp:6:5: note: suggested alternative:
In file included from /usr/include/c++/6/ios:38:0,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from user.cpp:1:
/usr/include/c++/6/iosfwd:165:34: note: ‘std::ofstream’
typedef basic_ofstream<char> ofstream;
^~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !