Problem | examstress |
---|---|
User | wezmaster |
Submission Time | 2024-07-15 21:44:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
examstress.cpp: In function ‘int main()’:
examstress.cpp:16:21: error: no match for ‘operator^=’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
16 | missingItem ^= item;
| ~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from examstress.cpp:1:
/usr/include/c++/9/bits/ios_base.h:107:3: note: candidate: ‘const std::_Ios_Fmtflags& std::operator^=(std::_Ios_Fmtflags&, std::_Ios_Fmtflags)’
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
| ^~~~~~~~
/usr/include/c++/9/bits/ios_base.h:107:29: note: no known conversion for argument 1 from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘std::_Ios_Fmtflags&’
107 | operator^=(_Ios_Fmtflags& __a, _Ios_Fmtfla