Using Eclipse to develop C + + programs under Linux

Source: Internet
Author: User
Tags linux

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:

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.