foo.cc:1:2: error: invalid preprocessing directive #incude; did you mean #include?
1 | #incude<iostream>
| ^~~~~~
| include
foo.cc: In function 'int main()':
foo.cc:5:4: error: 'cout' was not declared in this scope
5 | cout<<"hello world"<<endl;
| ^~~~
foo.cc:1:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | #incude<iostream>
foo.cc:5:25: error: 'endl' was not declared in this scope
5 | cout<<"hello world"<<endl;
| ^~~~
foo.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
+++ |+#include <ostream>
1 | #incude<iostream>
foo.cc:6:12: error: expected ';' before ':' token
6 | return 0:
| ^
| ;
foo.cc:6:12: error: expected primary-expression before ':' token
[Hydro](https://hydro.ac)提供评测服务