Eclipse/C + + development environment built----Window Edition

Source: Internet
Author: User
Tags php download rar

Tag: otherwise tin operation table COM org std ref height

Reprint Please specify source: http://blog.csdn.net/yf210yf/article/details/8017121

1. Java JDK

Installing the Java SDK is simple. Go to http://java.sun.com to find the Java JDK Installer for your operating system, download it and run it

2. Eclipse

http://eclipse.org/downloads/Download

3. CDT

http://www.eclipse.org/cdt/downloads.php Download

First understand what is the CDT, that is, C + + development Toolkit, this thing does not include C + + compiler, debugger, you have to get your own

Because I'm under the Juno version of Eclipse, the CDT chosen here should also be version Juno

After decompression, install the plugin via Eclipse

Reprint Please specify source: http://blog.csdn.net/yf210yf/article/details/8017121

4, MinGW

http://sourceforge.net/projects/mingw/?source=directory Download

MinGW is an environment that allows friends who do not like to work under Linux/unix to use the GNU tool under Windows.

This part is the compiler for C/s + +.

After downloading, install it

Then MINGW environment variable settings

Under test
CMD under input gcc-v and g++-V

Indicates that the installation was successful.
This allows you to compile the C program directly from the cmd command line in any directory using GCC.

Reprint Please specify source: http://blog.csdn.net/yf210yf/article/details/8017121

--------------------------------------------------------------------------------------------------------------- ------------------------------

When all of the above are installed

Start the Eclipse test

New C Project

To select an empty project in executable, the compilation chain uses MinGW GCC

Then add the source file Main.c

Writing Tests

Build binaries file after build project

Run

Reprint Please specify source: http://blog.csdn.net/yf210yf/article/details/8017121


Similarly, you can test C + +.

It is important to remember to save the file manually before each run, otherwise the build will not be saved automatically

Attention:

At first, the Std namespace could not be recognized.

As long as Ctrl + B re-build can be, personally think it should be a bug.

I packed the MinGW:

MinGW.part1.rar

MinGW.part2.rar

MinGW.part3.rar

Cdt-master-8.1.0cdt-master-8.1.0.part1.rarcdt-master-8.1.0.part2.rar

Version Eclipse-juno version Eclipse-juno. Part1.rareclipse-juno version. Part2.rar

Eclipse/C + + development environment built----Window Edition

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.