Using Eclipse to run C, C + + programs under Windows

Source: Internet
Author: User

Believe that we all want to run C, C + + programs under Eclipse, but also helpless do not know how to configure, Google for a long time also just Baidu to the GCC environment configuration, under the three or four packages, to the end or the configuration failed.

So I'm going to introduce this way, not based on the GCC compiler, but based on VC.

Step One:

You need to download the eclipse for C + + version of the package, of course, you can also install the plug-in (I do not recommend, unless you are idle egg pain, there is a ready to do not use, installed force ah?)

Official: http://www.eclipse.org/downloads/


Then after the download, unzip the click Eclipse.exe can run, of course, before running you must install Jdk,eclipse Java written, requires the JRE runtime environment.


Step Two:




Step Three:



Step Four:

Stand-alone project name, right-click New sourcefile Add a C language file, write a simple HelloWorld program.




Step Five:


Step Six:



Operation Result:






If I do this, I will not succeed, I cut my own jj~~~~.

Using Eclipse to run C, C + + programs under Windows

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.