How to Compile and Run a C++ Program from Command Prompt in Windows 10

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

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

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

Our Website
https://www.LearningLad.com

Suggest:

Top 4 Programming Languages to Learn In 2019

C Programming Language - Intro to Computer Science (2018)

Unleash The Power of C++ In Python

Go As a Scripting Language in Linux

Top 4 Programming Languages to Learn in 2019 to Get a Job

Dart Programming Tutorial - Full Course