Problem | helloworld |
---|---|
User | dl2704 |
Submission Time | 2023-11-08 09:32:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:4:2: error: ‘cout’ was not declared in this scope
4 | cout << "Hello World";
| ^~~~
helloworld.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <stdio.h>
+++ |+#include <iostream>
2 | using namespace std