Problem | shamelessad |
---|---|
User | angei |
Submission Time | 2025-07-25 16:58:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shamelessad.cpp:6:91: error: stray ‘\’ in program
6 | cout << "Join Shor the Duck’s server, Shor’s Nest! Also check out the collection!" <<\n
| ^
shamelessad.cpp: In function ‘int main()’:
shamelessad.cpp:5:6: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘const char [77]’)
5 | cin >> "Join Shor the Duck’s server, Shor’s Nest! Also check out the collection!";
| ~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | const char [77]
| std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/9/iostream:40,
from shamelessad.cpp:1:
/usr/include/c++/9/istream:168:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type