Windows environment Eclipse Development C + + program

Source: Internet
Author: User

Recently read a lot of Java excellent open-source framework, always give oneself a kind of indefinitely feeling. In order to understand some of the ideas and concepts that are not long, and to understand the whole Java system and even the whole programming development system, I decided to learn a language more, and then compare the concepts between languages. The initial choice is C + +, good not much, directly into the subject bar!

Read a lot on the internet on the Windows Eclipse Development C + + cases, but because the version of the problem itself always failed, fortunately, after several changes have successfully built their own C + + development environment,

    • First download the environment running C + + I chose mingw:http://www.mingw.org/.

    • Download the Eclipse plugin CDT (online installation): Http://download.eclipse.org/tools/cdt/releases/indigo

    • New Project Hellowork Project compilation Run


After downloading MinGW, you need to download the development package on its own basis.

Right-click on the package to download on the right to select mark for installation--> (left) installation-->apply changes

After the download, you need to configure the environment variables after downloading:

Mingw_home=c:/mingw
Library_path =%mingw_home%/lib
C_include_path =%mingw_home%/include
Added at the end of the path variable;%mingw_home%/bin

then be sure to restart your computer .

After the computer restarts, a new C + + project is started and the approximate structure is as follows (compiled):

This article is from the "Chen Yanxi" blog, make sure to keep this source http://chenyanxi.blog.51cto.com/4599355/1534329

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.