(bright music)
(logo chimes)
(logo whooshing)
(logo clicking)
Frank: Hello, everyone.
In this video, we're going to download,
and install Visual Studio Code on Windows,
and we're also going to set up the C++ extension for it.
Now, before you execute anything in this video,
please be sure that the MinGW 64 C++ Compiler
has already been installed and configured on your system.
That's very important that that's done already
before we install Visual Studio Code.
If you haven't done that, please go to section two,
and refer to the instructions for installing MinGW 64,
the C++ compiler on Windows.
Okay, so moving forward, I'm assuming that that's done.
What we want to do is open up your favorite browser,
and head over to code.visualstudio.com.
You can also search for Visual Studio Code
in Google and it'll take you there.
You're gonna get a page that looks similar to this,
and you can see that there's this big blue button
right here looking right at us saying,
"Download for Windows."
So it's already detected that I'm running Windows,
and there's also a download button
over here that gives you some more options
in case you've got a 32 bit version of Windows.
So I've got a regular 64 bit version of Windows,
which is what most people have.
And what I'm going to do is I'm just
gonna click this button, Download for Windows,
and that'll start my download.
It'll take you to this Getting Started page.
And you can see here that the file
is going to be saved when I click Save File.
(mouse button clicks)
And once that installer is saved,
that's what I want to execute.
So I'm gonna come up here to my browser,
and grab that download, which is right here,
and I'm just gonna double-click on it
to install it.
Now, once the install begins, right here,
I'm just gonna get rid of this browser.
I don't need it anymore and I really don't want it
to clutter up my screen.
So here's the license agreement.
You can look through that,
and accept the agreement and then select Next,
select the path you want to install it to.
I'm just gonna use the defaults.
I'll select Next.
Next again.
(mouse button clicks)
And now it says, "Select Additional Tasks."
The only thing that I set on here
is that last checkbox right here,
"Add to the path."
If you want to create an icon on your desktop
for Visual Studio Code, then select this first option.
I'll select Next and then Install.
(mouse button clicks)
The install will progress pretty quickly,
this is a fairly small application,
and it's a very fast application as well.
So once it's finished,
what we'll do is we'll launch Visual Studio Code.
That's what I'm going to do right now.
You can see that that checkbox is checked,
and I'm gonna select Finish,
and that'll bring up Visual Studio Code.
And I'm just gonna make this full screen.
(mouse button clicks)
We can just get rid of some of these messages.
And this is the screen that you're gonna get the first time
that you install Visual Studio Code.
It's just a getting started screen and it's kind of small,
so I'm just gonna enlarge this font,
I'm just gonna hit Ctrl+,
just to make it a little bit nicer on video,
so you all can see it a little bit better.
So this just gives you some information.
You wanna pick a theme and I'll just pick
this same dark theme.
You can look at the different languages
that it supports and so forth.
So there's a lot of information in here.
I'm going to close that.
(mouse button clicks)
And now, what I'm gonna do is I'm gonna go
to this icon right over here at the left,
down at the bottom, Extensions,
and I'm gonna select that.
(mouse button clicks)
And what I want to do is I wanna install
the C/C++ extension.
And you can see it right here.
Notice that I have zero extensions installed,
because I just installed Visual Studio Code
as a fresh install.
So in this case,
this is the extension that I want to install.
It's here under Popular.
If that does not show up under here,
you can always search for the extension up here,
just type C++ and you'll see it right there.
So this is the one we wanna select.
You'll know it's the one because you've got
this circle here with some purple, white, and black,
and it says C/C++, Microsoft.
And it's got about 20 million downloads
at the time of this video.
And what we wanna do here is just select Install.
(mouse button clicks)
You'll see down here at the bottom,
some messages of installation messages.
At this point we're done,
we've installed Visual Studio Code,
and the C++ extension.
So what I want to do now is just close this up,
and go right over here to my explorer,
and we are good to go now.
So in the next video,
what we'll do is we'll create a folder that will store some
of our C++ projects.
We'll create a small C++ program,
and we'll run that and I'll show you how
to configure Visual Studio Code to build,
and run that project.
So I'll see you in the next video.