I'm working on a Mac and using eclipse cdt. I'm able to use and compile all the c++ projects I currently have, but when I create a new one, it doesn't recognize the standard library. It underlines #include <iostream>
in yellow, and, if I try and compile, the errors say it can't find iostream
This website might help you. (Section 2.1 Step 2 or just do a search on the page for iostream)