Ask your own question, for FREE!
Computer Science 14 Online
OpenStudy (anonymous):

how to compile c program in ubuntu??

OpenStudy (owlfred):

Hoot! You just asked your first question! Hang tight while I find people to answer it for you. You can thank people who give you good answers by clicking the 'Good Answer' button on the right!

OpenStudy (anonymous):

Install the build-essentials package using the below command at the command line $sudo apt-get install build-essential This would install the GCC (GNU Compiler collection). Then you can run your c program using $gcc <filename>.c $./a.out

OpenStudy (anonymous):

thnx..

OpenStudy (anonymous):

gcc filename.c

OpenStudy (anonymous):

cc <filename.c> ./a.out

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!