Home Download Buy Blog Forum Support

compiling and running c program

compiling and running c program

Postby holly on Sat Dec 03, 2011 9:33 am

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:)
holly
 
Posts: 1
Joined: Sat Dec 03, 2011 9:16 am

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 12 guests