Use Eclipse IDE for CC ++ developers to build a C ++ Development Environment

Source: Internet
Author: User

1. Download
Eclipse IDE for C/C ++ developers and decompress

I am using a Windows 32bit system ..

2. Start the instance for the first time. Note that its version is indigo.

3. Download and install mingw, and configure its user variables (Control Panel \ All control panel items \ System \ Advanced System settings)

Click the "environment variable" button.

Create a variable named path under the user variable. The variable value varies depending on the location of your mingw installation.

If mingw is installed on disk D. Variable value: D: \ mingw \ bin. And so on.

4. Restart eclipse.

File --> New --> C ++ Project

Enter the project name in the Project Name field. Remember to select mingw GCC in toolchains.

You can select "Hello World C ++ Project" in "executable" on the project type on the left.

This will automatically generate the hello World Program. For example:

Click Run. If yes !!! Hello world !!! The C ++ development environment has been set up. If not, check which step is missing.

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.