Quote:
Originally Posted by compbug
well, how could I do that?
could you please explain?
I think it is better way to have an executable for all C codes.... atleast for the trial codes we run to understand the concepts!!
Thanks!
|
Most compilers let you do something like:
gcc myprogram.c -o myprogram
And anyway there is a mv command that can rename a file. So you could do:
gcc myprogram.c
mv a.out myprogram
But bear in mind that as porter mentioned, a file like xyz.c may not be a program. It could just be a function.