Borderou de evaluare (job #2948178)
Utilizator | Data | 27 noiembrie 2022 13:21:05 | |
---|---|---|---|
Problema | Economie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:14: error: field 'fin' has incomplete type 'std::ifstream' {aka 'std::basic_ifstream<char>'}
14 | ifstream fin;
| ^~~
In file included from /usr/include/c++/10/ios:38,
from /usr/include/c++/10/ostream:38,
from /usr/include/c++/10/iostream:39,
from main.cpp:1:
/usr/include/c++/10/iosfwd:116:11: note: declaration of 'std::ifstream' {aka 'class std::basic_ifstream<char>'}
116 | class basic_ifstream;
| ^~~~~~~~~~~~~~
main.cpp:56:14: error: field 'fout' has incomplete type 'std::ofstream' {aka 'std::basic_ofstream<char>'}
56 | ofstream fout;
| ^~~~
In file included from /usr/include/c++/10/ios:38,
from /usr/include/c++/10/ostream:38,
from /usr/include/c++/10/iostream:39,
from main.cpp:1:
/usr/include/c++/10/iosfwd:119:11: note: declaration of 'std::ofstream' {aka 'class std::basic_ofstream<char>'}
119 | class basic_ofstream;
| ^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !