I'm coming here out of desperation, you guys are my last string of hope.
I've been having the problems in the title since yesterday and for the life of me I cannot find what's wrong.
A simple hello world program cannot be built as Eclipse fails to find the g++ compiler. I've managed to find the PATH variable in Project->Properties->C++ BuildEnvironment and it's set at C:\Users\Dimitris\Documents\eclipseCPP\eclipse;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Windows Live\Shared;D:\Users\Dimitris\AppData\Local\Photran\MinGW\bin;C:\Program Files (x86)\VDownloader;E:\Program Files\VDownloader;E:\Program Files (x86)\FAHClient
Obviously, something's wrong there.
For the "unresolved iostream" matter, I've tried setting up my include paths in Project->Properties->C/C++ General->Paths and Symbols->Include tab then adding the whole MinGW file system, to no avail. Surprisingly, adding a sub-tree of MinGW -namely the very level iostream was in- managed to make Eclipse see iostream, though the program still could not understand cout or std. I've got MinGW, Cygwin and cygnus installed.
The program is, as I said before, a simlpe hello world. It won't build.
#include <iostream>
using namespace std;
int main()
{
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}