Notepad++ 通过g++编译

安装NppExec插件,运行指令

NPP_SAVE

cd $(CURRENT_DIRECTORY)

g++ -Wall -ansi -pedantic-errors "$(FILE_NAME)" -o $(NAME_PART).exe

cmd.exe /c start cmd /k $(NAME_PART).exe

 

然后在NppExec插件中可以设置快捷键

 

posted @ 2015-12-25 16:17  poore  阅读(301)  评论(0编辑  收藏  举报