How to : compile c with Notepad++

**COMMAND :
gcc $(FULL_CURRENT_PATH) -o $(FULL_CURRENT_PATH).exe
cmd /K gcc $(FULL_CURRENT_PATH) -o $(FULL_CURRENT_PATH).exe
(/K = Run Command and then return to the CMD prompt. This is useful for testing, to examine variables)

**Note
You Must Install MinGW or DevC
if use “gcc $(FULL_CURRENT_PATH) -o $(FULL_CURRENT_PATH).exe” or cmd /K gcc $(FULL_CURRENT_PATH) -o $(FULL_CURRENT_PATH).exe dose’n work
please change “gcc” to “gcc directory”
Example : “C:\MinGW\bin\gcc.exe $(FULL_CURRENT_PATH) -o $(FULL_CURRENT_PATH).exe

ตาราง Enviroment ของ Notepad++
http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Defining_User_Commands

HqRxD8yHIWU

Leave a Reply

Your email address will not be published. Required fields are marked *