Borderou de evaluare (job #409539)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sir9i | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 dec. 2018 14:34:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:11: error: no matching function for call to ‘std::basic_ifstream<char>::open()’
user.cpp:22:11: note: candidates are:
/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
/usr/include/c++/4.6/fstream:551:7: note: void std::basic_ifstream<_CharT, _Traits>::open(const string&, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits<char>, std::string = std::basic_string<char>, std::ios_base::openmode = std::_Ios_Openmode]
/usr/include/c++/4.6/fstream:551:7: note: candidate expects 2 arguments, 0 provided