Run C Program in Command Prompt



Run C Program in Command Prompt

Run C Program in Command Prompt

Learn how to compile and run C programs in the command prompt/line without using an IDE. The commands are below.
NOTE: You will need a C compiler to do this already installed, I use GCC. https://gcc.gnu.org/

Commands:
gcc ‘name_of_the_file’ e.g. gcc hello.c
gcc -o ‘name_of_exe’ ‘name_of_file’ e.g. gcc -o hello helloWorld.c

Please Subscribe !

►Become a Patreot: patreon.com/randerson112358

►Website: http://everythingcomputerscience.com/

►Support this channel get C-Programming Book:
https://www.amazon.com/gp/product/0131103628/ref=as_li_tl?ie=UTF8&tag=everythingc06-20&camp=1789&creative=9325&linkCode=as2&creativeASIN=0131103628&linkId=c6b8768d5fe382a757ab85da5c1686ae

Resource: http://ce.uml.edu/compile.htm

Comments are closed.