Problem | helloworld |
---|---|
User | sylviashi10 |
Submission Time | 2024-06-24 14:01:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp:4:10: error: missing terminating " character
4 | cout << "Hello\n;
| ^~~~~~~~~
helloworld.cpp:5:15: error: stray ‘\’ in program
5 | cout << World\n";
| ^
helloworld.cpp:5:17: error: missing terminating " character
5 | cout << World\n";
| ^~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
4 | cout << "Hello\n;
| ~~~~ ^~
| |
| basic_ostream<[...]>
5 | cout << World\n";
| ~~~~
| |
| basic_ostream<[...]>
helloworld.cpp:4:7: note: candidate: ‘operator<<(int, int)’ <built-in>
4 | cout << "Hello\n;
| ~~~~~^~~~~~~~~~~~
5 | cout <&