Borderou de evaluare (job #2418591)
| Utilizator | Data | 5 mai 2019 16:42:38 | |
|---|---|---|---|
| Problema | A+B | Status | done |
| Runda | teme_upb | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:6: error: invalid use of non-static member function 'void std::basic_ifstream<_CharT, _Traits>::close() [with _CharT = char; _Traits = std::char_traits<char>]'
fin.close;
~~~~^~~~~
In file included from main.cpp:2:0:
/usr/include/c++/6/fstream:633:7: note: declared here
close()
^~~~~
main.cpp:11:7: error: invalid use of non-static member function 'void std::basic_ofstream<_CharT, _Traits>::close() [with _CharT = char; _Traits = std::char_traits<char>]'
fout.close;
~~~~~^~~~~
In file included from main.cpp:2:0:
/usr/include/c++/6/fstream:839:7: note: declared here
close()
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
