sublime-text中如何编译运行c语言

.sublime-build文件

{
"cmd" : ["gcc" ,"$file_name" ,"-o" ,"${file_base_name}" ,"&&" ,"${file_base_name}"],
"selector" : "source.c",
"shell": true,
"working_dir" : "${file_path}"
}

可以参考:
http://www.thefourtheye.in/2013/07/Compiling-Cpp-11-Programs-with-Sublime-Text-3.html

你可能感兴趣的:(sublime-text中如何编译运行c语言)