Problem | helloworld |
---|---|
User | WHEE29alt |
Submission Time | 2024-06-18 09:52:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:2:2: error: ‘cout’ was not declared in this scope
2 | cout << "Hello World" << std::endl;
| ^~~~
helloworld.cpp:2:32: error: ‘endl’ is not a member of ‘std’
2 | cout << "Hello World" << std::endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#include <ostream>
1 | int main(){