This is step to setup how to build C in Notepad++ (Windows),
As first you have to download MinGW at below
http://sourceforge.net/projects/mingw/files/latest/download?source=files
After that run the setup and select mingw32-base and mingw32-gcc-g++
Click Installation on the top left hand menu, Apply change than wait until completed install
Setup your path , right click on My computer > Advanced system settings > Advanced tab > Environment Variables >Edit System variables > Variable Path > Add “C:MinGWbin;” in case you install MinGW on C:/
Open you Notepad++ , press F5 , or click Run menu
Setup c-compiler
typing below and paste it
gcc “$(FULL_CURRENT_PATH)” -o “$(CURRENT_DIRECTORY)$(NAME_PART).exe”
after that click save select crtrl+F9
press F5 , or click Run menu for Setup c-run
typing below and paste it
cmd /K “$(CURRENT_DIRECTORY)$(NAME_PART).exe”
after that click save select crtrl+F5
Now you can compile C program by press Crtrl+F9 and Run c program by press Crtrl+F5