I come out of despair, you guys are my last hope.
I had problems in the name since yesterday, and for life I can not find what is wrong.
A simple hello world program cannot be built because Eclipse cannot find the g ++ compiler. I managed to find the PATH variable in Project-> Properties-> C ++ BuildEnvironment and set it to 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 is wrong.
Regarding the “unresolved iostream” question, I tried setting up my included paths in Project-> Properties-> C / C ++ General-> Paths and Symbols-> Include tab, and then adding the whole MinGW file system helped. Surprisingly, the addition of the MinGW subtree, namely the iostream level itself, was prevented to make Eclipse see iostream, although the program still could not understand cout or std. I have MinGW, Cygwin and cygnus installed.
The program, as I said, is a world of welcome. It will not be created.
#include <iostream> using namespace std; int main() { cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!! return 0; }
source share