Problem helloworld2
User pIaceholder
Submission Time 2023-04-22 11:36:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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