Q:

Fatal error: iostream: No such file or directory #include 

I encountered a problem when I was learning C++, and encountered errors when I was compiling it.
The details are as follows:

A:

You seem to have not installed C++ support in MinGW. If you are using the manual installation route, download the gcc-c++ dev, dll, and bin files. If you are using the automated GUI installer (recommended for newcomer to C++), make sure to check the C++ package:
 

