1, installation notepad++ and MinGW, installation step reference online, no longer repeat.
2, open notepad++ software, click on the menu bar to run, or press F5 shortcut key, pop Up the Settings dialog box.
3. Fill in the input run program name of the popup dialog box with the following information cmd/k gcc-o "D:\C_Code\$ (name_part). exe" & PAUSE & Exit and press the Save button, named Compile C.
Repeat the 2 actions above, fill in the following information in the input run program name of the popup dialog cmd/k "D:\C_Code\$ (Name_part)" & PAUSE & Exit and press the Save button, named Run C.
Ps:
D:\C_Code indicates where the C source file exists
& Pause indicates that the command is paused for keyboard operation after it is run
& exit indicates that after completing the operation, exit the Doc window and return to notepad++
notepad++ MINGW Configuration C development environment