So I am using CodeLite, (codelite.org), with the mingw compiler, and cout, nor cin is not working. I tried to add #include <iostream> but it is not found. How can I fix this?
go into your include folder where you installed your compiler. iostream or iostream.h should be in there. But to me your errors looks like you have neither of these files in your include folder. which is very very odd.
It looks like you are linking to the wrong include folder.
I don't use Codelite or Mingw but I downloaded it quickly. My C++ files ended up at *\TDM-GCC-64\lib\gcc\x86_64-w64-mingw32\5.1.0\include\c++. Otherwise search your computer for iostream.