Problem | helloworld |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-17 14:12:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:6: error: ‘cout’ is not a member of ‘std’
3 | std::cout << "Hello World";
| ^~~~
helloworld.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <string>
+++ |+#include <iostream>
2 | int main() {