Skip to content

Instantly share code, notes, and snippets.

Avatar

Burak Çetin bcetin

View GitHub Profile
@bcetin
bcetin / Paste_this_to_the_prompt_in_npp
Created Jun 16, 2018
Nppexec command that makes the terminal stay up for you to see the output for notepad++. I added simple stuff to the snippet from this tutorial. http://daleswanson.blogspot.com/2012/07/how-to-compile-c-code-in-notepad-with.html
View Paste_this_to_the_prompt_in_npp
npp_save
cd "$(CURRENT_DIRECTORY)"
g++ "$(FILE_NAME)" -o $(NAME_PART) -march=native -O3
npp_run cmd.exe /k "$(NAME_PART)" & pause & exit