‫So in this video, we're going to walk through how to install Visual Studio code.
‫And when you first install it and launch it for the first time, it's going to look something like this.
‫But I do want to talk about a couple of options to Visual Studio code before we get into this process.
‫So first, if you have a coding environment that is working for you, I would recommend that you just
‫stay with that.
‫There isn't anything in this course that will be Visual Studio code specific.
‫You just have to have an environment to write C++ code.
‫So the second thing you might want to consider, instead of using this as your coding environment,
‫if you want something that is much simpler to set up, you might want to check out replicate XCOM.
‫So in order to use their site, you do need an account and you just come up here and you sign up.
‫I already have an account, so I'll just click on log in.
‫And then when I log in, it brings us to this page.
‫I'll come up here and click on Create and there will be a number of programming languages.
‫You just scroll a little bit, click on C++.
‫Click on Create Ripple.
‫And it will give us this hello world.
‫So I'll come up here and run this and you can see over here that it prints out hello world.
‫So this is a really easy way of having a coding environment set up.
‫So one of the things that's nice about replicas is you're not going to have to do the full installation
‫of VS code with extensions and then install a compiler and then do the configuration just right out
‫of the box.
‫You can do this.
‫So those are a couple of options.
‫Either use what you're using now, check out replicas.
‫And then of course, the third option is we're going to install VS code and we'll start out by doing
‫a Google search.
‫So I'm just going to do a search for download vs code.
‫Or you could do download Visual Studio code and I'll click on this and the top hit here will say download
‫Visual Studio code, Mac Linux Windows.
‫I'll click on this and it will bring you to a page that looks something like this.
‫Remember, these pages do change from time to time.
‫So yours might look a little different than what this looks like right now.
‫And then you just choose your operating system.
‫I'm on a mac, I'll click on this and you can see that it is downloading here in the corner.
‫So once that's done downloading, you can either click on that or go to your downloads folder and double
‫click on the download.
‫And it doesn't matter what platform you're on, you can just accept all of the defaults and finish the
‫install and launch vs code and when you do you'll get something like this.
‫So now we're going to install a couple of extensions and you get to the extensions pane by clicking
‫on this button right here.
‫So I'll click on that.
‫And it will show the most popular extensions and most likely C++ is going to be near the top pick,
‫the one that is by Microsoft.
‫If you don't see that in your most popular list, you can come up here to where it says search extensions
‫in Marketplace and then just search for C++.
‫But to install it, we just come right here and I'll click install.
‫And that's all there is to installing that.
‫I'm going to come up here and shrink down this popular pain like this.
‫And now we're going to do a search up here for Code Runner.
‫And if you just type in code.
‫Code runner will most likely be the top choice and we'll click install on this.
‫So I'm going to come up here and delete where it says code in the search box.
‫And it will just show us our installed extensions.
‫So now I'm going to click on C and C++.
‫And if you scroll up just a little bit here.
‫It'll say C C++ extension tutorials per compiler and platform.
‫And what these links are for are for instructions on installing a C and C++ compiler on your operating
‫system, because this extension that we just installed does not have a compiler in it.
‫We have to install that separately and installing the compiler is platform specific.
‫So I'll have three different videos on that, one for Windows, one for Linux and one for Mac OS.
‫So just go to the video that applies to you and we'll pick up right here in that video and install the
‫compiler.