I am learning the very basics of C programming in Linux. I will post some of them.
Compiling a C program,
"gcc -o try try.c"
Here, try.c is the actual C program. -o options is used for renaming the the executable file. If you dont use -o option, then by default a.out will be the name of the executable.
Running a C program,
"./try"
Friday, August 7, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment