Borderou de evaluare (job #2027880)
Utilizator | Data | 26 septembrie 2017 20:21:50 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:8: error: no match for ‘operator=’ (operand types are ‘std::ifstream {aka std::basic_ifstream<char>}’ and ‘int’)
input=i;
^
user.cpp:14:8: note: candidate is:
In file included from user.cpp:2:0:
/usr/include/c++/4.8/fstream:427:11: note: std::basic_ifstream<char>& std::basic_ifstream<char>::operator=(const std::basic_ifstream<char>&) <deleted>
class basic_ifstream : public basic_istream<_CharT, _Traits>
^
/usr/include/c++/4.8/fstream:427:11: note: no known conversion for argument 1 from ‘int’ to ‘const std::basic_ifstream<char>&’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !