Hi, i read some discussion about compiling and running C file on this editor, but no one with a solution.
Maybe someone can help me to write a build system for compiling and running c program?
i’m already able to compile the program
with this the program is compiled as well
{
“cmd”: “gcc”, “$file”, “-o”, “$file_base_name”]
}
But i wanna run too, so if complete (as i read in last post) with
{
“cmd”: “gcc”, “$file”, “-o”, “$file_base_name”],
“cmd”: “./$file_base_name”
}
i can run the program too.
My problem is this.
I need every time to first compile(with the first start of the program) and after i need to lunch again the last part of the program.
can anyone help me to have a more “userfriedly” build system to launch??thanks a lot!
ah, i’m running osx lion:)