How to Compile and Run a C++ Program from Command Prompt in 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.

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
g++ program.c
this will generate the executable from the program.

We can also give name for the executable generated by using

Our Website

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

Theres something about the way that people from India and Pakistan talk. It doesn't matter what they're explaining but its always easier to understand from them because of the pauses they make.

JadeWinters
Автор

That video helps me a lot... Thank you for such amazing videos

bubundutta
Автор

Great video. Very helpful and straight to the point, thank you

Kevin-zlot
Автор

Is there a way to make this run in vscode to output on the integrated terminal without having to compile, then execute the .exe that is created

ngm_
Автор

THANK YOU SO MUCH, I had to install the toolset and everything was so easy with your help

rose_empire
Автор

Amazing, very helpful. thank you my guy

abdulkadirab
Автор

Damn i was wasting my time in other videos...this was so straightforward...thanks😊

Pg_Tobby
Автор

Thank you so much, this is very helpful for the students👩‍🎓👩‍🎓

bojfteq
Автор

Afternoon LearningLad, Can I please get help on how to make cmd to know the internal of C#, I've used C++ for so long now. I want to learn on C# and have a basic structure on it. Can you guys if at any time please make a video on how we can install C# files from cmd using MSYS2 as you did on C++ video on programming it🙏. So that I can use Visual Studio Code on C# not C++ language.
Thank you❤️🙏.

And also thank you guys for your tutorials🥇, and it really improved my coding on c++ and I am ready to balance c# with c++.

godwillmusic_sa
Автор

Hello pls am having a dll missing error and it's called libisl21 have you heard of it? If yes how can I fix it I have tried everything I can find on YouTube

meshachistifanus
Автор

Thank you very much! Just also want to ask how we could debug using only the command prompt. Currently trying to code without any IDEs, just using Notepad++ and the command prompt.

ianibanez
Автор

jajaja, it was so "simple" that almost install another editor, thank you my fella

jhoanmartinezsilva
Автор

thankyou bro literally you saved my life

ellis-prhh
Автор

3:27 Such a simple file was sold in just 1 click? Wow, I didn't know learning money with c++ is so easy!

orxufys
Автор

Anil, I already finished all the videos on your playlist, please help me😭 I don't know what's the next step to make since Im not yet finished in Computer Engineering but after finishing this playlist I don't know which steps to take again. Please please, help.

regienaldcabanamontalvo
Автор

Thanks so much, the video was very helpful for me

shathamuhanna
Автор

Thank you so much man! i couldn't figure out i was doing thanks again!

ThatGuy-dpni
Автор

I am very new to c++ programming so kindly tell me where to write the coding and how to exective ? is NOTEPAD OR NOTEPAD++ is enough to write the program and compile it in command prompt? reply asap plz

sushkiduniya
Автор

Thanks man!, that was very helpful. Kind regards!

PeterParker-zmyk
Автор

Thanks for Hello World! You saved my life 🙏🙏🙏🙏🙏🙏🙏🙏

ksspofw
visit shbcf.ru