Add A/C + + plug-in in eclipse

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.