How to Run a C Program in Command Prompt ( CMD ) on Windows 10

preview_player
Показать описание
in this video tutorial you will learn How to compile/ build and run a c program in command prompt in windows operating System.

After installing C toolset ( mingw oin windows is used here ) we need to set the path environment variable.

After that we need to open the command prompt and use the command
gcc program.c
this will generate the executable from the program.

We can also give name for the executable generated by using

Download and install MinGW in Windows 10

our Social Media Pages

Our Website

#ExampleProgram
Рекомендации по теме
Комментарии
Автор

thanks a lot! the tutorial was very helpful and clear, I even learned something new with opening up cmd with the included path on top of how to make a simple program in C!

basiljimjumsoup
Автор

Thank you so much Bro😄😄
It's really helpful

_sakshibagul
Автор

why is the filename hello.c inside double quotes when you save it . What significance is that ?

edwardmacnab
Автор

It shows as gcc is not recognized as an internal or external command...how to fix this

aparnabraj
Автор

It says gcc is not recongnized. How ti fix this ?

prateekisonline
Автор

What would we do when we get access denied

joshithamanchikanti
Автор

Among 6 to 7 video it became easy to under stand

kabitasahoo