Skip to content

Instantly share code, notes, and snippets.

View bcetin's full-sized avatar

Burak Çetin bcetin

View GitHub Profile
@bcetin
bcetin / Paste_this_to_the_prompt_in_npp
Created June 16, 2018 15:05
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
npp_save
cd "$(CURRENT_DIRECTORY)"
g++ "$(FILE_NAME)" -o $(NAME_PART) -march=native -O3
npp_run cmd.exe /k "$(NAME_PART)" & pause & exit