Problem helloworld
User Logout
Submission Time 2023-11-08 08:55:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int printName()’:
helloworld.cpp:2:7: error: ‘cout’ is not a member of ‘std’
2 | std::cout >> "Hello World";
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int printName() {