How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10



How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10

How to Build / Compile and Run a C Program in Command Prompt ( cmd ) on Windows 10

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 use a.out and run the program.

We can also give name for the executable generated by using
gcc -o program.exe program.c

Learn about
Toolset Toolchain Ide’s
https://youtu.be/91vHV4waiwA

Installing Mingw
https://youtu.be/hAnTiNm7mUE

Installing CodeBlocks ide
https://youtu.be/c8iq3yg6RDM

Watch Video tutorials in HINDI at
http://www.youtube.com/user/LearningLadHindi

#CProgramming #LearningLad

Catch us on Social Media
facebook http://www.facebook.com/LearningLad
twitter http://www.twitter.com/LearningLadEdu
Google+ http://www.google.com/+LearningLad

Comments are closed.