I would like to compile and run C program in sublime text 3 on ubuntu 14.04. Currently the program is being compiled with gcc using sublime text 3 executing a command (see b
The code that worked for me on a Windows 10 machine using Sublime Text 3
{ "cmd" : "gcc $file_name -o ${file_base_name}", "selector" : "source.c", "shell" : true, "working_dir" : "$file_path", "variants": [ { "name": "Run", "cmd": "${file_base_name}" } ] }