| Problem | helloworld |
|---|---|
| User | manfaceseth |
| Submission Time | 2026-05-26 16:16:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:11: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
4 | char a = "Hello World";
| ^~~~~~~~~~~~~
| |
| const char*
helloworld.cpp:5:2: error: ‘cout’ was not declared in this scope
5 | cout << a;
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;