compiling c program

From WebHostingNeeds.com
Revision as of 16:35, 22 March 2009 by Admin (talk | contribs) (New page: <pre> cc program.c </pre> Will compile program.c and create executable file a.out To execute a.out, run <pre> ./a.out </pre> To create executable with name "program", run <pre> cc -o ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
cc program.c

Will compile program.c and create executable file a.out

To execute a.out, run

./a.out

To create executable with name "program", run

cc -o program program.c