0:00
uh Hello friends welcome to this video
0:03
so in this video I will show you a
0:05
extension and vs code which allows you
0:07
to compile and run your C++ programs
0:10
into exe files very easily so this is
0:13
actually the extension C++ compile run
0:17
if you just go to the extension just
0:22
C++ so this extension will come here C++
0:26
compile run developed by this person
0:28
Daniel 4 million downloads ites simply
0:32
click the install button and as soon as
0:34
you click the install button you will
0:36
see this if you go to Just Define a
0:40
simple index. CPP file which is
0:43
extension for C++ files and here just
0:46
write a simple hello world program in
0:48
C++ and we simply outputting hello world
0:52
and then we are waiting for the user
0:54
input before closing the program and now
0:57
if you open this you will see this run
0:59
button available using this
1:01
extension now compile run so first of
1:05
all it will compile this
1:08
program and it will display the result
1:12
world and also it will convert the CPP
1:15
file to the executable file here if you
1:19
that if I open this now you will see
1:22
hello world is printing out and please
1:25
enter to exit so as I press enter the
1:28
program exits right so in this way you
1:31
can convert your CPP file compile it and
1:33
run it inside the vs code using this
1:37
extension and just make sure that you
1:39
have installed the mingw compiler so go
1:43
to this website so just type here C++
1:51
Google or you can simply
2:08
say so this is actually the website here
2:11
which will come here Ms
2:14
ys2 you go to this and uh just install
2:20
compiler this is for the Windows machine
2:23
exe file is there so this is a setup
2:26
file so just run this setup 79 megabytes
2:30
after setting up after finishing the
2:33
step right here it will create the
2:36
folder inside your C drive which will be
2:43
myy so this will be the folder created
2:46
and here you will find all the binaries
2:48
which will be mingw compiler in my
2:53
64-bit and here you will see all these
2:58
GCC so you just need to add this path in
3:01
the environment variable so I've already
3:04
this so before using that vs code
3:07
extenstion just make sure that you add
3:09
this in the system variables just select
3:18
entry so I've already added this
3:22
so I already have this g++ compiler
3:34
that just make sure that you have this
3:37
compiler installed and then inst
3:39
basically use this extension very easily
3:41
to compile and run your C++ program in
3:44
vs code so in this way you can do this
3:48
and thank you very much for watching
3:50
this video and also check out my website
3:52
as well free media tools.com uh which
3:55
contains thousands of tools regarding
3:57
audio video and image and I we will be
4:00
seeing you in the next video