mecho.cpp: In function 'int main()':
mecho.cpp:4:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
4 | cout << "Hello, World!" << endl;
| ^~~~
| std::cout
In file included from mecho.cpp:1:
/usr/include/c++/11/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
mecho.cpp:4:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
4 | cout << "Hello, World!" << endl;
| ^~~~
| std::endl
In file included from /usr/include/c++/11/iostream:39,
from mecho.cpp:1:
/usr/include/c++/11/ostream:684:5: note: 'std::endl' declared here
684 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~