Borderou de evaluare (job #1761)

Utilizator avatar robert_fanr Banu Robert robert_fanr IP ascuns
Problemă Kfact Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 oct. 2012 21:14:58 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:17:13: error: no matching function for call to ‘std::basic_ifstream<char>::open()’ user.cpp:17:13: note: candidate is: /usr/include/c++/4.6/fstream:531:7: note: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits<char>, std::ios_base::openmode = std::_Ios_Openmode] /usr/include/c++/4.6/fstream:531:7: note: candidate expects 2 arguments, 0 provided user.cpp:32:14: error: no matching function for call to ‘std::basic_ofstream<char>::open()’ user.cpp:32:14: note: candidate is: /usr/include/c++/4.6/fstream:702:7: note: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits<char>, std::ios_base::openmode = std::_Ios_Openmode] /usr/include/c++/4.6/fstream:702:7: note: candidate expects 2 arguments, 0 provided