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