How to solve "Unresolved inclusion: <iostream>" in a C++ file in Eclipse CDT?
c++, eclipse, iostream
Solution
- Click Project → Properties.
- Expand C/C++ General.
- Click Preprocessor Include Paths, Macros, etc.
- Click the Providers tab.
- Check CDT GCC Built-in Compiler Settings.
- Check Use global provider shared between projects.
- Click Apply and Close.
Problem
I download eclipse for c++ (cdt-master-8.0.2.zip). When I write: ``` #include <iostream> ``` It marks: ``` Unresolved inclusion: <iostream> ``` How can I fix it?