Problem | helloworld |
---|---|
User | Yunyi |
Submission Time | 2024-01-29 15:53:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp:5:7: error: missing terminating " character
5 | cout<<"hello\";
| ^~~~~~~~~
helloworld.cpp:6:7: error: missing terminating " character
6 | cout<<"world\";
| ^~~~~~~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:5: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::ostream’ {aka ‘std::basic_ostream<char>’})
5 | cout<<"hello\";
| ~~~~^~
| |
| basic_ostream<[...]>
6 | cout<<"world\";
| ~~~~
| |
| basic_ostream<[...]>
helloworld.cpp:5:5: note: candidate: ‘operator<<(int, int)’ <built-in>
5 | cout<<"hello\";
| ~~~~^~~~~~~~~~~
6 | cout<<"world\";
| ~~~~
helloworld.cpp:5:5: note: no known conversion for argument 2 from ‘std::ostream’ {aka ‘std::basic_ostream<char&g