notepad++ Configure the C + + compilation Run environment __c++

Source: Internet
Author: User

The first step: by group Ang Cygwin

Install Cygwin, and note that you choose to install GCC and g++.

Add (Cygwindir) to the system environment path/bin

The second step: functionlist_2_1_uni_dll.zip installation download and decompression functionlist_2_1_uni_dll.zip.
Copy the FunctionList.dll to the notepad++ plugins directory.

Copy the C++.FLB, Functionlistrules.xml, Gmod lua.bmp to the Plugins\config directory.

Step Three: Nppexec installation

Download and unzip the nppexec_041_dll_unicode.zip to copy NppExec.dll and directory nppexec to the notepad++ plugins directory. Copy the fparser.html, NppExec.txt, Nppexec_manual.chm, Nppexec_manual.knt, nppexec_techinfo.txt in the doc directory to plugins\doc\ Restart the notepad++ in the Nppexec directory. Fourth Step: Configure Nppexec

g++ input then change to:

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

Click "Save ..." button to save, named "Compilec++"

Replace C with

CMD/C "Gcc-o $ (current_directory) \$ (Name_part) $ (full_current_path)"
"$ (current_directory) \$ (name_part). exe"

Click "Save ..." button to save, named "Compilec"

Add "Compilec", "compilec++" to the Macros menu (Macros)
Plugin-->nppexec-->advanced options in associated script: The following Drop-down box to select "Compilec", "compilec++", click "Add/modify" button to add them to the list below menu items in turn.
Select the place to the Macros submenu check box.

The post-configuration interface is available:

The final test:




Reference documents:

http://blog.csdn.net/lamp_zy/article/details/8043697

Http://www.cnblogs.com/FreeAquar/archive/2012/06/19/2555208.html

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.