﻿1
00:00:00,410 --> 00:00:05,960
‫So in this video, we're going to walk through how to install Visual Studio code.

2
00:00:06,470 --> 00:00:12,650
‫And when you first install it and launch it for the first time, it's going to look something like this.

3
00:00:13,100 --> 00:00:20,090
‫But I do want to talk about a couple of options to Visual Studio code before we get into this process.

4
00:00:20,510 --> 00:00:27,140
‫So first, if you have a coding environment that is working for you, I would recommend that you just

5
00:00:27,140 --> 00:00:28,940
‫stay with that.

6
00:00:29,300 --> 00:00:34,360
‫There isn't anything in this course that will be Visual Studio code specific.

7
00:00:34,370 --> 00:00:38,240
‫You just have to have an environment to write C++ code.

8
00:00:38,600 --> 00:00:43,790
‫So the second thing you might want to consider, instead of using this as your coding environment,

9
00:00:43,790 --> 00:00:51,260
‫if you want something that is much simpler to set up, you might want to check out replicate XCOM.

10
00:00:51,290 --> 00:00:56,980
‫So in order to use their site, you do need an account and you just come up here and you sign up.

11
00:00:56,990 --> 00:01:00,080
‫I already have an account, so I'll just click on log in.

12
00:01:00,820 --> 00:01:03,190
‫And then when I log in, it brings us to this page.

13
00:01:03,190 --> 00:01:08,920
‫I'll come up here and click on Create and there will be a number of programming languages.

14
00:01:08,920 --> 00:01:12,500
‫You just scroll a little bit, click on C++.

15
00:01:12,520 --> 00:01:14,710
‫Click on Create Ripple.

16
00:01:15,680 --> 00:01:18,650
‫And it will give us this hello world.

17
00:01:18,680 --> 00:01:24,620
‫So I'll come up here and run this and you can see over here that it prints out hello world.

18
00:01:25,070 --> 00:01:29,990
‫So this is a really easy way of having a coding environment set up.

19
00:01:30,440 --> 00:01:36,260
‫So one of the things that's nice about replicas is you're not going to have to do the full installation

20
00:01:36,260 --> 00:01:42,200
‫of VS code with extensions and then install a compiler and then do the configuration just right out

21
00:01:42,200 --> 00:01:43,280
‫of the box.

22
00:01:43,370 --> 00:01:44,810
‫You can do this.

23
00:01:45,320 --> 00:01:46,940
‫So those are a couple of options.

24
00:01:46,940 --> 00:01:50,300
‫Either use what you're using now, check out replicas.

25
00:01:50,570 --> 00:01:57,860
‫And then of course, the third option is we're going to install VS code and we'll start out by doing

26
00:01:57,860 --> 00:01:59,000
‫a Google search.

27
00:01:59,360 --> 00:02:03,680
‫So I'm just going to do a search for download vs code.

28
00:02:03,680 --> 00:02:10,970
‫Or you could do download Visual Studio code and I'll click on this and the top hit here will say download

29
00:02:10,970 --> 00:02:14,360
‫Visual Studio code, Mac Linux Windows.

30
00:02:14,360 --> 00:02:19,280
‫I'll click on this and it will bring you to a page that looks something like this.

31
00:02:19,280 --> 00:02:22,640
‫Remember, these pages do change from time to time.

32
00:02:22,850 --> 00:02:27,140
‫So yours might look a little different than what this looks like right now.

33
00:02:27,710 --> 00:02:30,110
‫And then you just choose your operating system.

34
00:02:30,110 --> 00:02:36,140
‫I'm on a mac, I'll click on this and you can see that it is downloading here in the corner.

35
00:02:36,930 --> 00:02:42,030
‫So once that's done downloading, you can either click on that or go to your downloads folder and double

36
00:02:42,030 --> 00:02:43,740
‫click on the download.

37
00:02:44,160 --> 00:02:50,010
‫And it doesn't matter what platform you're on, you can just accept all of the defaults and finish the

38
00:02:50,010 --> 00:02:57,870
‫install and launch vs code and when you do you'll get something like this.

39
00:02:58,410 --> 00:03:04,200
‫So now we're going to install a couple of extensions and you get to the extensions pane by clicking

40
00:03:04,200 --> 00:03:05,760
‫on this button right here.

41
00:03:06,460 --> 00:03:07,810
‫So I'll click on that.

42
00:03:08,350 --> 00:03:15,310
‫And it will show the most popular extensions and most likely C++ is going to be near the top pick,

43
00:03:15,310 --> 00:03:17,740
‫the one that is by Microsoft.

44
00:03:18,250 --> 00:03:24,550
‫If you don't see that in your most popular list, you can come up here to where it says search extensions

45
00:03:24,550 --> 00:03:28,930
‫in Marketplace and then just search for C++.

46
00:03:29,500 --> 00:03:33,790
‫But to install it, we just come right here and I'll click install.

47
00:03:34,430 --> 00:03:37,280
‫And that's all there is to installing that.

48
00:03:37,280 --> 00:03:41,330
‫I'm going to come up here and shrink down this popular pain like this.

49
00:03:42,170 --> 00:03:47,000
‫And now we're going to do a search up here for Code Runner.

50
00:03:47,750 --> 00:03:49,670
‫And if you just type in code.

51
00:03:49,700 --> 00:03:55,220
‫Code runner will most likely be the top choice and we'll click install on this.

52
00:03:55,760 --> 00:04:00,800
‫So I'm going to come up here and delete where it says code in the search box.

53
00:04:01,520 --> 00:04:05,300
‫And it will just show us our installed extensions.

54
00:04:06,520 --> 00:04:10,330
‫So now I'm going to click on C and C++.

55
00:04:11,540 --> 00:04:13,790
‫And if you scroll up just a little bit here.

56
00:04:14,500 --> 00:04:20,890
‫It'll say C C++ extension tutorials per compiler and platform.

57
00:04:21,370 --> 00:04:29,410
‫And what these links are for are for instructions on installing a C and C++ compiler on your operating

58
00:04:29,410 --> 00:04:34,620
‫system, because this extension that we just installed does not have a compiler in it.

59
00:04:34,630 --> 00:04:41,290
‫We have to install that separately and installing the compiler is platform specific.

60
00:04:41,290 --> 00:04:48,850
‫So I'll have three different videos on that, one for Windows, one for Linux and one for Mac OS.

61
00:04:49,330 --> 00:04:57,730
‫So just go to the video that applies to you and we'll pick up right here in that video and install the

62
00:04:57,730 --> 00:04:58,450
‫compiler.

