Believe that many people are as confused as I am, check the various installation methods on the Internet, but tried all the methods are still not successful, in fact, this can not blame the online method is not right, may be just you did not click on a key reason, below, I would like to talk about how to use eclipse to develop C + + program.
First of all, you need to install JDK, this is nothing to say, because, the method and the steps are too much, then, I will not be in this nonsense.
Next, you need to go to elcipse website to download the Eclipse IDE for C + + developers, download the address: http://www.eclipse.org/downloads/, note that you need to download the correct version, My system is Ubuntu 32 bits, of course, download is: Linux 32bit.
After that, open Eclipse and create a new C + + project: (c project and C + + are the same)
Note: Here you choose Empty Project (Empty project) and Linux GCC, then click Finish. At this point you will find a project on the left side of the panel, we add a source file Main.cpp, as shown in the following figure: