Notepad++配置C++开发环境(备忘)

一.设置path 变量

二.Notepad++配置C++ IDE 

打开Notepad,设置命令

编译C

cmd /k gcc -g -o "$(CURRENT_DIRECTORY)/$(NAME_PART)".exe "$(FULL_CURRENT_PATH)" & PAUSE & EXIT

编译C++

cmd /k gcc -g -o "$(CURRENT_DIRECTORY)/$(NAME_PART)".exe"$(FULL_CURRENT_PATH)" & PAUSE & EXIT

运行

cmd /k "$(CURRENT_DIRECTORY)/$(NAME_PART)".exe"$(FULL_CURRENT_PATH)" & PAUSE & EXIT

调试

cmd /k gdb "$(CURRENT_DIRECTORY)/$(NAME_PART)".exe

 
  
 
  
 
 

你可能感兴趣的:(Notepad++配置C++开发环境(备忘))