If eclipse is not already installed, you can download the Eclipse IDE with C + + directly
http://www.eclipse.org/downloads/eclipse-packages/?osType=linux&release=undefined
If Eclipse is installed, you can choose to install the CDT (c + + development Toolkit) Plugin
Restart eclipse after installing the plug-in and switch to the C + + environment
After switching
Create a new C + + project
The most widely used C + + compiler in Linux is GCC, and most Linux distributions are installed by default, as developers and beginners generally use GCC as the preferred compilation tool for Linux, so using GCC to compile C + + is no problem.
At this point, the environment to build a successful, occasionally asked "Linux under C and C + + programming which more promising", some feelings, is to learn this to do what, paste as follows:
I am ready to prepare this C + + environment is the most important interest and technology interests, write some system monitoring and other small functions to facilitate daily work. C + + writes things that are near the bottom of Linux and are convenient, such as:
[Email protected] oralog]# g++-o c++_test C11.cpp
[email protected] oralog]# LL
Total 16
-rw-r--r--1 root root 7 08:42 C11.cpp
-rwxr-xr-x 1 root root 8213 Dec 7 08:43 c++_test
[Email protected] oralog]#./c++_test
!!! Hello World!!!
Add A/C + + plug-in in eclipse