Advertisement
xerpi

Notepad++ Compiler [by xerpi]]

Aug 24th, 2011
1,908
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. //Notepad++ C compiler made by xerpi
  2.  
  3. //First save the current file
  4. NPP_SAVE
  5.  
  6. //Delete previous exe's
  7. cmd /c del /Q "$(CURRENT_DIRECTORY)\$(NAME_PART).exe"
  8.  
  9. //Compile
  10. C:\Dev-Cpp\bin\gcc.exe "$(FULL_CURRENT_PATH)" -o $(NAME_PART)
  11.  
  12. //Run the exe
  13. cmd /c start $(CURRENT_DIRECTORY)\$(NAME_PART).exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement