notepad++

Source: Internet
Author: User

Download MinGW and configure system environment variables
http://sourceforge.net/projects/mingw/files/
Http://tdm-gcc.tdragon.net/download
Add the Mingw\bin to the system environment variable path;

First download the Auto indent plugin:

Plugins, Plugin Manager, Show Plugin Manager, Available, Nppautoindent, Install

Then reboot and configure the plugin:

Plugins, Nppautoindent, Smart Indent

Next font, we recommend using Source Code Pro Click to direct

Then change the subject:

Settings, Style Configurator, vibrant Ink, Save & Close

Then come out with the Ctrl + mouse wheel To adjust the font size on the line.

Finally, the most important step is to configure the shortcut keys.

Write a Hello World first, press F5, save the following command


Compile:

Cmd/c "g++-o $ (current_directory) \$ (Name_part) $ (Full_current_path)"
"$ (current_directory) \$ (name_part). exe"


Run:

CMD/C "$ (current_directory) \$ (Name_part)" & PAUSE & EXIT


Debugging:

CMD/C "GdB $ (current_directory) \& (Name_part)" & PAUSE & EXIT
Press F5, enter the above statement, click Save, and then set the shortcut key.

Similarly, if you want to compile a C program, you can change the compiled g++ to GCC.

notepad++

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.