ctrl+shift+t :打开终端cd 文件路径 :移动到 makefile 所在文件终端输入: make 生成可执行文件./ 可执行文件的名字 就运行了。
在linux系统下,在你makefile所在文件夹用终端make