Problem | helloworld |
---|---|
User | Minxiang |
Submission Time | 2024-06-18 09:58:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:3:2: error: ‘cout’ was not declared in this scope
3 | cout<<"hello world\n";
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;