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++