How to Build / Compile and 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 language Program in command prompt on windows 10 operating System.

skip to start Writing code 04:57

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

Learn about
Toolset Toolchain Ide's

Installing Mingw

Installing CodeBlocks ide

Watch Video tutorials in HINDI at

#CProgramming #LearningLad

Catch us on Social Media
Рекомендации по теме
Комментарии
Автор

Thank you for the patience and the simple but efficient explanations.

laurentiutrifan
Автор

I have been trying to do this for days but all other tutorials were not good enough. Thank you.

andyrodriguez
Автор

This is very powerful actually I am going to practice doing that all the time on cmd. Thanks for every new awesome feature that you provide

alexschmidt
Автор

Thank you so much! Finally I found this video. I'm learning the C programming in the university but nobody explaind how I can create .exe from my .c. But now everything works perfectly. You are amazing!

andylunatic
Автор

Their is a lot of tutorials on YouTube about programming in general but none of them (at least for my watching and searching) have explained how to deal with the Installer tool of your own program.

alexschmidt
Автор

the video has been created so simply yet so complete in details...thank you...keep it up

godrexer
Автор

You are the only one i see on youtube explain how to do this and how this is works, ty for that

charlesjsescoto
Автор

ah, finaly someone showing me why my WinGW was not found. Thank you very much :)

captain_shrug
Автор

Clear, simple and direct. Many thanks.

hideakipage
Автор

Thank u 💕.. After watching so many videos I reached here and this is the only one worked

peacefirst
Автор

Thank you very much, Anil. Your instruction was thorough and easy to follow. I have not been coding for sometime yet I managed to get all the way through. Best wishes from Melbourne Australia, Minh

ProfreshionalLifeBeyond
Автор

thank you so much you explained it in great detail.

sanjeevmaharjan
Автор

Thanks a lot❤️❤️ i'm very much grateful to you for this tutorial

doly
Автор

Awesome. You did a great job Man. Thank you so much

taherahmed
Автор

This is exactly what I wanted thank you so much bro

roshan
Автор

thank you so much, finally, i run the c program in cmd with your tutorial, 👍🙋‍♂️

soroushfathi
Автор

Thanks bro, this video is very useful for beginners like me.

matsaramachandrarao
Автор

Thanks a lot sir. You know what I'm so happy. Maine kitne hi videos dekhe the but ye ho nhi paya Maine finally apne semester ke last din ye dikha and i did it. Thanku so much🙏🙏

riturani
Автор

on the last part when we change the name of the a.exe when i did it another a file was developed hello.exe but not replaced it. Is it the name same thing?

thulanitinashe
Автор

after watching many videos on you tube this is the only video who explain it in proper way well don sir..

Muskan-hnib