Problem | helloworld |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-20 07:21:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
1 | #inclde <bits/stdc++.h>
| ^~~~~~
| include
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:5: error: ‘cout’ was not declared in this scope
5 | cout << "Hello World" << std::endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclde <bits/stdc++.h>
helloworld.cpp:5:35: error: ‘endl’ is not a member of ‘std’
5 | cout << "Hello World" << std::endl;
| ^~~~
helloworld.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#include <ostream>
1 | #inclde <bits/stdc++.h>