About Sublime Text 3 compiling C + + records

Source: Internet
Author: User
Tags sublime text

Sublime Text 3 compiles C + + needs to install MinGW.

Install MinGW, to figure three to note that need to wait for download and installation, until continue shiny can continue to the next step.

If the installation does not pass, press quit directly to quit, repeat the installation once or two times, it is possible.

Installation through, the next will appear the following interface, bullish red box hook on it.

Then press installation in the top left corner to apply changes.

Then the following interface appears. Pressing apply will automatically install it. When it appears that the string of two long words will be able to exit, the original interface, exit can be.

Then set the environment variables:

Locate the Bin folder in the MinGW directory that you just installed, such as my C:\MinGW\bin, and log the path to this bin directory.

Right-click on the computer, select Properties, and then click Advanced System Settings, tap environment variables

Then in the system variables (not User variables!!!) ), and then double-click it.

I this interface is WIN10, new to the Bin folder just recorded the path to write down, and then press confirm. Pay attention to input method, do not use Chinese input!!!!

In the case of a WIN7 system, a smaller interface appears, where you add a semicolon at the end of the variable value, then write down the Bin folder path and press confirm. Also pay attention to input methods, do not use Chinese input method.

The final step is to test if the installation setup was successful.

Press win key +r to open cmd. Enter Gcc–v press ENTER.

See the red box that string of words on behalf of the installation is successful.

About Sublime Text 3 compiling C + + records

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.