1
00:00:00,510 --> 00:00:07,380
OK, so in this lecture, we're actually just going to be talking about where we're going to write the

2
00:00:07,380 --> 00:00:09,310
code for C++.

3
00:00:09,330 --> 00:00:12,780
So where do you write code?

4
00:00:13,050 --> 00:00:15,800
You probably have written some documents.

5
00:00:15,820 --> 00:00:22,680
It may be in like Microsoft Word or, you know, Google Docs or something like that or just Notepad

6
00:00:22,680 --> 00:00:24,810
app, something similar to that.

7
00:00:24,810 --> 00:00:26,550
And it's very similar for code.

8
00:00:27,180 --> 00:00:35,010
You can use some very basic kind of text editors for writing code, or you can use some like really

9
00:00:35,010 --> 00:00:39,960
fancy integrated development environments, which are programs.

10
00:00:39,960 --> 00:00:45,930
They're basically software that is designed to make your coding life a lot easier.

11
00:00:46,590 --> 00:00:52,020
They do a lot of heavy lifting for you, and there's a lot of really fancy features that help you debug

12
00:00:52,020 --> 00:00:59,610
code, and you can even kind of help you write code faster and in a more streamlined way.

13
00:01:00,060 --> 00:01:05,610
So we're going to be going over all these different things today because I want everyone to have the

14
00:01:05,610 --> 00:01:09,180
flexibility to be able to code in whatever environment they want.

15
00:01:09,420 --> 00:01:18,930
Maybe they don't want a really big or overwhelming I.D. You know, it may or may not be overwhelming,

16
00:01:18,930 --> 00:01:24,680
but there could be a chance that when you open up an I.D., you're like, Wow, this is really confusing.

17
00:01:24,690 --> 00:01:27,420
It feels like I'm driving a spaceship or something like that.

18
00:01:27,960 --> 00:01:34,980
I don't want anyone to be held back from the learning experience of the course, but it's really about

19
00:01:34,980 --> 00:01:39,090
learning about programming and algorithms and things like that.

20
00:01:39,390 --> 00:01:41,370
Less about the editor.

21
00:01:41,370 --> 00:01:44,790
So I don't want you to be hung up on like figuring out how to use your editor.

22
00:01:45,030 --> 00:01:50,910
So I'm going to be covering as much as I can about each editor, how to use it, how to debug in an

23
00:01:50,910 --> 00:01:57,300
I.D., how to debug in the terminal, how to write code in the terminal, how to write code in a lightweight

24
00:01:57,300 --> 00:02:01,350
text editor and of course, how to write code in an ID as well.

25
00:02:02,160 --> 00:02:06,660
So today's lecture is just going to be all about where do we write code?

26
00:02:06,810 --> 00:02:08,580
What are all the options that I have?

27
00:02:08,850 --> 00:02:11,130
Where do I go to download these things?

28
00:02:11,310 --> 00:02:12,330
Are they free?

29
00:02:12,480 --> 00:02:13,860
Do I have to pay for them?

30
00:02:14,130 --> 00:02:15,210
How do I set it up?

31
00:02:15,550 --> 00:02:18,150
And I try and answer all these questions in this lecture.

32
00:02:18,930 --> 00:02:22,440
So with that, let's go ahead and get started.

33
00:02:22,470 --> 00:02:33,690
I have three different styles of locations to write code software to use to write code that I'm going

34
00:02:33,690 --> 00:02:34,860
to explain to you today.

35
00:02:35,070 --> 00:02:42,000
And there are a bunch of different versions of each one of these types of editors that I'm going to

36
00:02:42,000 --> 00:02:42,690
talk about.

37
00:02:42,930 --> 00:02:44,520
I just picked three.

38
00:02:44,640 --> 00:02:46,830
I picked my three favorite ones.

39
00:02:47,310 --> 00:02:55,860
So you don't have to use any of these, but I'm going to show you where to download these and how to

40
00:02:55,860 --> 00:02:56,750
use them.

41
00:02:56,760 --> 00:02:58,990
So you have a few different options.

42
00:02:59,010 --> 00:03:05,820
You, of course, can go get your own, you know, versions of these your own.

43
00:03:06,980 --> 00:03:11,480
Like brands, if you will, like if you want a different companies.

44
00:03:11,960 --> 00:03:17,600
Text editor, a different type of text editor, you can totally do that if you already know of one that

45
00:03:17,600 --> 00:03:18,590
you want to use.

46
00:03:19,190 --> 00:03:20,210
You can go do that.

47
00:03:20,210 --> 00:03:25,580
I cannot cover all the different text editors that would take me forever, and I feel like it would

48
00:03:25,580 --> 00:03:29,120
seriously detract from the purpose of this course.

49
00:03:29,600 --> 00:03:32,280
But I am not going to leave you hanging.

50
00:03:32,300 --> 00:03:39,620
I'm going to go over at least a few different options so you can feel comfortable coding in an environment

51
00:03:39,620 --> 00:03:40,220
that you like.

52
00:03:41,180 --> 00:03:46,610
You can also use all three to and that might be good, so you can kind of expand your knowledge and

53
00:03:46,610 --> 00:03:51,800
skill and have you know how to use different editors and stuff like that.

54
00:03:52,910 --> 00:03:56,270
So we kind of have the whole spectrum covered here.

55
00:03:56,300 --> 00:04:00,830
I'm going to go over on these three different things.

56
00:04:00,830 --> 00:04:07,940
First, I'm going to talk about a command line based text editor called them.

57
00:04:08,270 --> 00:04:13,910
I also have a graphical version of it here, too, but I'm going to be focusing on the command line

58
00:04:13,910 --> 00:04:14,330
for it.

59
00:04:15,490 --> 00:04:20,170
Then in the end, that's kind of the most primitive one.

60
00:04:21,420 --> 00:04:32,730
Yet it is really great and loved by many programmers and developers because you can write code really

61
00:04:32,730 --> 00:04:43,020
fast and it if you know how to use it at a very highly skilled level, you can navigate around a file

62
00:04:43,170 --> 00:04:46,680
very quickly and write code very quickly.

63
00:04:46,680 --> 00:04:49,980
So it's pretty cool, and that's why I wanted to introduce it.

64
00:04:52,220 --> 00:04:58,820
And so that's kind of the start on the very left side, the lowest part, if you will, in terms of

65
00:04:58,820 --> 00:05:00,500
like how fancy we're getting.

66
00:05:00,560 --> 00:05:05,450
Then in the middle, there's something called Visual Studio Code.

67
00:05:05,720 --> 00:05:12,980
I would consider this a lightweight I.D. idea standing for integrated development environment.

68
00:05:13,880 --> 00:05:18,890
It's somewhere between a basic text editor and an ID somewhere in the middle there.

69
00:05:19,910 --> 00:05:22,550
People love Visual Studio code.

70
00:05:22,880 --> 00:05:25,190
I really do love Visual Studio Code.

71
00:05:25,940 --> 00:05:33,590
I would say that if you're struggling on which one to choose at the end of this video, I would just

72
00:05:33,590 --> 00:05:41,120
say go with Visual Studio code just because I think it there's lots of great documentation online about

73
00:05:41,120 --> 00:05:41,200
it.

74
00:05:41,210 --> 00:05:43,490
Tons of people use it and just really love it.

75
00:05:43,490 --> 00:05:51,250
And it's pretty easy to write code in and it doesn't take a ton of getting used to yet.

76
00:05:51,260 --> 00:05:57,650
You can customize it a lot and you can make it really, really fancy if you want and add additional

77
00:05:57,650 --> 00:05:59,300
plug ins and stuff like that.

78
00:06:00,740 --> 00:06:07,820
And then the kind of other end of the spectrum is going to be like a big, fancy indie called Sea Lion

79
00:06:07,910 --> 00:06:09,330
from jet brains.

80
00:06:09,350 --> 00:06:15,350
They also make IDs for the Python programming language, which is this right here pie charm.

81
00:06:16,130 --> 00:06:23,930
I just have the community edition of this, and I think they also make one for like Java and JavaScript

82
00:06:23,930 --> 00:06:25,070
or something called Intel.

83
00:06:26,150 --> 00:06:30,830
I don't have that on here, but that's I've heard that's also really great.

84
00:06:32,180 --> 00:06:38,750
So let me kind of talk about each one of these individually, and I'll show you where you can, where

85
00:06:38,750 --> 00:06:40,730
you can get them and and download them.

86
00:06:41,300 --> 00:06:46,280
So first off, I'm going to look at something called them.

87
00:06:47,880 --> 00:06:53,430
And this is something that you can access from the command line once you install it, and it's going

88
00:06:53,430 --> 00:07:00,690
to be similar in Windows, Mac or Linux, so whatever operating system you have, you will be able to

89
00:07:00,690 --> 00:07:11,550
go to your terminal like if you are in Mac, your bash shell, if you are in Linux or your command prompt

90
00:07:12,000 --> 00:07:16,920
here in Windows and just type them and press enter.

91
00:07:17,250 --> 00:07:18,990
And that will bring you into this.

92
00:07:18,990 --> 00:07:23,000
You notice it, says VM, which stands for I improved v.

93
00:07:23,000 --> 00:07:24,540
I was the older version of it.

94
00:07:24,870 --> 00:07:31,250
It is a pretty old ed, but still really loved by the programming community.

95
00:07:32,670 --> 00:07:34,230
So what's up with him?

96
00:07:35,340 --> 00:07:46,200
It is a really cool editor, but for beginners, it does take a while to just get to a point where you

97
00:07:46,200 --> 00:07:48,930
can comfortably navigate around in it.

98
00:07:49,200 --> 00:07:54,300
It uses some weird keys, so it has these two modes.

99
00:07:55,140 --> 00:07:59,010
One that's called insert mode and one that's called command mode right now.

100
00:07:59,700 --> 00:08:02,480
You're kind of you get into it and you're like, Well, what do I do?

101
00:08:02,490 --> 00:08:06,090
I don't know how to get around what I'm typing keys like.

102
00:08:06,090 --> 00:08:08,640
I type some keys and like, Oh, what happened?

103
00:08:08,640 --> 00:08:12,480
Now I'm in insert mode and I don't know what's going on.

104
00:08:12,800 --> 00:08:16,260
You know, you type some keys and it doesn't really like, do anything.

105
00:08:17,160 --> 00:08:22,590
So what you do is you press I to go into insert mode and that lets you start typing.

106
00:08:23,100 --> 00:08:25,200
So now, you know, I can type some stuff.

107
00:08:25,530 --> 00:08:31,170
I press the escape key that brings me back to that mode that I was just in called command mode.

108
00:08:31,620 --> 00:08:33,900
Command mode is for navigating around.

109
00:08:35,160 --> 00:08:42,060
You can see that my cursor is moving around right here and I can press high again, and now I'm in insert

110
00:08:42,060 --> 00:08:45,180
mode and I can start typing at this point where my cursor is.

111
00:08:46,740 --> 00:08:52,710
So the thing is, is that to get around when I'm going back and forth like this, I'm actually pressing

112
00:08:52,710 --> 00:08:56,070
the h key to go left and the key to go right.

113
00:08:56,670 --> 00:08:57,660
And you actually.

114
00:08:59,860 --> 00:09:07,030
If you go to another line and start typing some code, when I go up and down between lines, I'm typing

115
00:09:07,030 --> 00:09:11,140
that J and the K so k to go up to go down.

116
00:09:11,680 --> 00:09:13,480
So it's kind of a little confusing.

117
00:09:13,480 --> 00:09:20,740
You need to learn how to use the keyboard to navigate around this environment, but there's a lot more

118
00:09:20,740 --> 00:09:28,330
keys that you can press to do things very quickly, like you can just quickly delete a line like that

119
00:09:28,330 --> 00:09:32,230
by just pressing RD twice, and that also copies that line.

120
00:09:33,400 --> 00:09:41,080
There's just a lot of cool key combinations that once you learn them, you can write code super fast

121
00:09:41,080 --> 00:09:41,650
in here.

122
00:09:41,650 --> 00:09:49,660
And it's it feels pretty nice if you're if you become kind of a power user of them, you can just write

123
00:09:49,660 --> 00:09:52,960
code incredibly quickly.

124
00:09:52,960 --> 00:10:00,550
And it's a great experience because you just feel like you have so much power and control over your

125
00:10:00,550 --> 00:10:01,720
environment that you're writing.

126
00:10:01,720 --> 00:10:09,820
Code in a cool thing, too, is that you will be able to set up that Vim Navigation in visual studio

127
00:10:09,820 --> 00:10:10,600
code as well.

128
00:10:10,630 --> 00:10:12,610
I believe there's a way to set that up.

129
00:10:12,880 --> 00:10:18,550
I don't have it set up, but I think there is a way which I might actually look into so I can tell you

130
00:10:18,550 --> 00:10:19,180
how to do that.

131
00:10:21,010 --> 00:10:22,980
But yeah, it will take.

132
00:10:22,990 --> 00:10:26,560
It's a little bit of a learning curve to be able to write code in here.

133
00:10:26,570 --> 00:10:29,800
That's why I don't want you to be forced to have to use this.

134
00:10:30,550 --> 00:10:33,510
But if you do want to use it, just know it.

135
00:10:33,630 --> 00:10:35,260
You can write code really fast.

136
00:10:35,500 --> 00:10:37,030
You can also customize it.

137
00:10:37,270 --> 00:10:43,590
I will show you how to customize certain color schemes in here and stuff like that right now.

138
00:10:43,600 --> 00:10:44,890
It just looks like gray code.

139
00:10:44,900 --> 00:10:48,760
So even though you might not understand the commands.

140
00:10:50,330 --> 00:10:54,500
That I'm writing in here, I will show you

141
00:10:57,740 --> 00:10:59,240
just what the colors look like.

142
00:10:59,480 --> 00:11:10,460
So I'm going into a C++ file right now and you see that I type this and it's actually separating things

143
00:11:10,460 --> 00:11:13,040
by colors, which is pretty cool.

144
00:11:17,360 --> 00:11:20,210
This is me typing some C++ code right now.

145
00:11:23,090 --> 00:11:28,790
And you can you notice it just it looks kind of visually appealing to and you can also

146
00:11:31,910 --> 00:11:33,440
do like

147
00:11:36,830 --> 00:11:37,340
some.

148
00:11:38,270 --> 00:11:40,100
You can change the color scheme.

149
00:11:40,430 --> 00:11:41,030
So

150
00:11:44,240 --> 00:11:48,320
colors in, uh.

151
00:11:51,990 --> 00:11:54,980
Color scheme, did you know?

152
00:11:55,200 --> 00:11:57,180
Oh, no, it's just a color scheme, that's what it is.

153
00:11:58,110 --> 00:12:06,570
Color scheme, desert, I think color scheme.

154
00:12:10,640 --> 00:12:12,270
Blue, dark blue.

155
00:12:12,290 --> 00:12:13,070
OK, here we go.

156
00:12:13,430 --> 00:12:15,800
Al Ford, OK.

157
00:12:16,810 --> 00:12:19,900
So you notice that the I had some color schemes there.

158
00:12:20,680 --> 00:12:22,750
I can change the the color.

159
00:12:25,200 --> 00:12:28,860
Any industry, so that just changes the colors.

160
00:12:29,790 --> 00:12:33,450
Kind of cool, that just changes it temporarily.

161
00:12:35,580 --> 00:12:41,770
If I go, I actually didn't save that file, so actually it was already touched.

162
00:12:42,030 --> 00:12:43,670
Yeah, I can save it.

163
00:12:43,680 --> 00:12:48,120
So you notice now it goes back to my original one.

164
00:12:48,420 --> 00:12:53,820
This is something that you can edit in this VM rc file that exists on your computer.

165
00:12:54,600 --> 00:13:03,120
You can go and actually set the default colors and stuff like that and customize your your editor here.

166
00:13:04,380 --> 00:13:07,180
So that's just something I wanted to show you all.

167
00:13:07,290 --> 00:13:11,670
If you saw some weird commands there, don't mind that I'm going to go over how to navigate the command

168
00:13:11,670 --> 00:13:12,750
line and stuff like that.

169
00:13:13,110 --> 00:13:18,060
This is me just kind of showing you what the various coding environments look like, so you can choose

170
00:13:18,060 --> 00:13:19,650
one to be able to download.

171
00:13:20,100 --> 00:13:26,160
OK, so let's move on to the next one, which is going to kind of be our in-between a primitive and

172
00:13:26,160 --> 00:13:28,710
fancy, which is Visual Studio code.

173
00:13:29,820 --> 00:13:35,550
So I think I already have like a simple program written in here in C++, so you can just kind of see

174
00:13:36,060 --> 00:13:36,750
what it looks like.

175
00:13:36,750 --> 00:13:38,460
I'm not sure if it'll bring that up.

176
00:13:39,000 --> 00:13:47,100
It's actually blank right now, so I don't have the program, but it also does some color like highlighting

177
00:13:47,100 --> 00:13:48,360
and stuff like that.

178
00:13:50,940 --> 00:13:54,420
And you notice it just it's slightly a little a little more fancy.

179
00:13:54,420 --> 00:13:59,690
So you notice like I type one curly brace here and it does two curly braces.

180
00:13:59,700 --> 00:14:05,160
It kind of just set things up for you because it, you know, it knows what you're doing.

181
00:14:05,160 --> 00:14:11,910
It knows that it's C++ and it's it's going to it's going to make it a little easier for you to write

182
00:14:11,910 --> 00:14:12,360
code.

183
00:14:13,110 --> 00:14:14,760
It's got a lot more going on here.

184
00:14:15,300 --> 00:14:22,020
You can download extra plugins that do more for you, like they help you write code.

185
00:14:23,190 --> 00:14:27,780
It does have a debugger that you can set up for various programming languages.

186
00:14:29,330 --> 00:14:33,740
You know this, I have this terminal down here, so I can close out of this, I can actually bring up

187
00:14:33,740 --> 00:14:39,800
this integrated terminal in here, so I can kind of like write code and look at my code and then run

188
00:14:39,800 --> 00:14:41,540
it in the same kind of window.

189
00:14:42,480 --> 00:14:49,920
So I could be writing code in this area here and then here it brings up Windows PowerShell, and I would

190
00:14:49,920 --> 00:14:57,900
actually be able to navigate to the same directory that holds my code and I could compile and run my

191
00:14:57,900 --> 00:15:03,270
code to and run commands in here because this is like a full on instance of PowerShell.

192
00:15:04,200 --> 00:15:05,950
So it's pretty cool.

193
00:15:05,970 --> 00:15:10,840
This is something that can be as basic or advanced as you want.

194
00:15:10,860 --> 00:15:17,460
You can really customize it and make it more fancy by adding these plug ins and things to it.

195
00:15:19,010 --> 00:15:25,670
So just know that it still is highly customizable and but still can be pretty simple if you want to

196
00:15:25,670 --> 00:15:26,420
keep it simple.

197
00:15:26,720 --> 00:15:28,240
I will be going over all these.

198
00:15:28,280 --> 00:15:33,230
Like I said before showing you kind of how to use each one of them, you can kind of.

199
00:15:33,530 --> 00:15:39,320
When we get into the part of the course that talks about debugging, you'll notice that in both Sea

200
00:15:39,320 --> 00:15:46,040
Lion and in here, you kind of have a similar thing where you can set little dots here to be able to

201
00:15:46,340 --> 00:15:49,310
tell the program to stop suddenly.

202
00:15:49,310 --> 00:15:54,020
And you can kind of examine what's happening when the code runs and stuff like that.

203
00:15:54,020 --> 00:15:57,290
So that is a cool thing when we step it up a bit.

204
00:15:58,520 --> 00:16:05,930
It has kind of a built-in debugger if you set it up, and that is a really powerful tool, as we'll

205
00:16:05,930 --> 00:16:06,830
see in the future.

206
00:16:07,250 --> 00:16:10,700
So just kind of what Visual Studio code looks like.

207
00:16:11,330 --> 00:16:12,530
It's it's pretty cool.

208
00:16:12,830 --> 00:16:19,100
You can open multiple files here at once, too, which is nice not to say that you can't do that and

209
00:16:19,100 --> 00:16:22,460
when, but it's just a little more user friendly and here.

210
00:16:24,670 --> 00:16:26,470
In this graphical kind of.

211
00:16:28,270 --> 00:16:34,900
Ed, so you can you can add another file you notice there's like this this tab right here, like a welcome

212
00:16:34,900 --> 00:16:41,230
tab, you can go like new file and you notice that we have a file here.

213
00:16:41,530 --> 00:16:47,380
And we also have a file here where I can have another C++ file right beside it.

214
00:16:47,560 --> 00:16:55,750
And I can kind of toggle back and forth between these and write write code in both of them and jump

215
00:16:55,750 --> 00:16:57,250
back and forth and do things.

216
00:16:57,250 --> 00:17:00,760
And then I could run either one of them and stuff like that.

217
00:17:00,760 --> 00:17:01,150
So.

218
00:17:01,980 --> 00:17:02,980
So pretty cool.

219
00:17:02,980 --> 00:17:04,090
Pretty nice looking.

220
00:17:04,690 --> 00:17:07,210
So that is that's kind of your middle option there.

221
00:17:08,720 --> 00:17:15,590
I also should point out that I do have this graphical version of them to that that you can install,

222
00:17:15,700 --> 00:17:17,240
I showed you the command line, but you can.

223
00:17:17,600 --> 00:17:23,340
I pin this to my taskbar, you can click that and it brings up kind of this graphical version of the

224
00:17:23,450 --> 00:17:24,800
film editor as well.

225
00:17:25,790 --> 00:17:34,910
So now we move on to kind of a big idea, which is that integrated development environment I've been

226
00:17:34,910 --> 00:17:35,690
talking about.

227
00:17:36,500 --> 00:17:40,130
And so there are other ideas out there that you could use.

228
00:17:40,550 --> 00:17:42,830
I use this one because I really like it.

229
00:17:43,220 --> 00:17:46,570
I love chip brains products.

230
00:17:47,000 --> 00:17:50,420
You know, like I said, like pie charm here as well.

231
00:17:51,530 --> 00:17:52,880
So let's take a look at this.

232
00:17:54,860 --> 00:17:55,940
So it is a.

233
00:17:56,920 --> 00:18:01,160
Got a lot more going on it, and it's just going to bring up like a program here.

234
00:18:01,180 --> 00:18:02,770
This is from a more advanced.

235
00:18:04,230 --> 00:18:10,350
Portion of the course, which we will talk about algorithms and stuff, so you can kind of ignore the

236
00:18:10,350 --> 00:18:14,700
code here, but I just want to kind of show you what it looks like.

237
00:18:15,420 --> 00:18:17,310
You know, a lot going on here.

238
00:18:17,310 --> 00:18:18,440
I can bring this over.

239
00:18:18,450 --> 00:18:19,200
It has.

240
00:18:21,750 --> 00:18:27,750
You know, all the project files here, so you can have like a big, big project and a list out all

241
00:18:27,750 --> 00:18:32,190
these files similar, you could do a similar thing here in Visual Studio Code.

242
00:18:32,550 --> 00:18:37,170
But what makes it so nice is mainly as powerful debugger.

243
00:18:37,320 --> 00:18:37,860
So.

244
00:18:39,640 --> 00:18:43,180
You can have a terminal here.

245
00:18:44,990 --> 00:18:50,780
Or you can, you know, basically have like this little.

246
00:18:52,290 --> 00:19:00,090
Kind of debugger thing where you can go through and like check like errors, and it's it's pretty nice.

247
00:19:00,450 --> 00:19:07,510
Like, for example, this is something we haven't gone over yet, but you can basically like set set

248
00:19:07,530 --> 00:19:10,140
these little points in which you can debug things.

249
00:19:12,340 --> 00:19:17,470
And kind of, you know, started up and it will just like, stop here for you.

250
00:19:17,500 --> 00:19:24,580
You can go and in and kind of step through and examine things and look at your code and look at like

251
00:19:24,880 --> 00:19:26,830
data going through your code.

252
00:19:26,830 --> 00:19:31,780
And it's just, you know, it's got a really powerful debugger, which I really like.

253
00:19:31,990 --> 00:19:38,140
So that's what makes this kind of the reason why I love Sea Lion is just because they're debugger is

254
00:19:38,140 --> 00:19:45,880
so, so nice and easy to use, and it's just the graphical nature of being able to click around on things.

255
00:19:47,210 --> 00:19:50,810
And examine, you know, memory stuff like that.

256
00:19:51,050 --> 00:19:55,400
It's super nice we'll be looking at different debunkers, we'll look at this one and we'll look at a

257
00:19:55,400 --> 00:19:57,860
terminal based debugger as well.

258
00:19:57,860 --> 00:20:03,110
So you don't have to only use this debugger, but I just kind of want to show you what it looks like,

259
00:20:03,110 --> 00:20:04,310
what the environment's like.

260
00:20:04,970 --> 00:20:12,020
You know, it also like completes code for you a lot of times because, you know, if you've already

261
00:20:12,020 --> 00:20:19,070
kind of typed something out and it recognizes it, that I talked about Visual Studio code being able

262
00:20:19,070 --> 00:20:19,670
to have that.

263
00:20:19,670 --> 00:20:23,630
If you install like some plug ins, but here you don't got to install anything, it's just it's all

264
00:20:23,630 --> 00:20:24,380
there for you.

265
00:20:24,710 --> 00:20:29,030
So, you know, you can just kind of press tab and it will complete things for you.

266
00:20:29,270 --> 00:20:31,880
It also will make suggestions and things.

267
00:20:33,840 --> 00:20:37,200
So, you know, it's pretty cool, like it can change.

268
00:20:37,650 --> 00:20:39,450
It can kind of change some code.

269
00:20:40,910 --> 00:20:46,040
For you, sometimes it will highlight highlight certain things you see like a light bulb pop up here

270
00:20:46,400 --> 00:20:50,180
and you'll be like, Oh, do you want to replace this piece of code with something else?

271
00:20:50,180 --> 00:20:54,470
And I can click Yes, and it kind of changes it into something else for me.

272
00:20:55,940 --> 00:20:57,950
And, you know, if I don't like it, I can.

273
00:20:57,950 --> 00:20:59,770
I can go back to how it was.

274
00:20:59,780 --> 00:21:03,470
And you know, these are just kind of really cool fancy tools.

275
00:21:04,200 --> 00:21:05,960
We can do a lot of stuff for you.

276
00:21:06,380 --> 00:21:08,090
It helps you code better.

277
00:21:08,510 --> 00:21:11,390
You know, it'll it'll give you little options to change things.

278
00:21:11,420 --> 00:21:16,610
It will give you suggestions on on spelling or if there's a more efficient way, you could implement

279
00:21:17,300 --> 00:21:20,170
some type of C++ syntactical thing.

280
00:21:20,490 --> 00:21:21,750
It'll help out a lot.

281
00:21:21,770 --> 00:21:25,310
So really powerful development environment.

282
00:21:27,700 --> 00:21:36,160
So terminate that, so let's let's look at how to download these things, so I've got them pulled up

283
00:21:36,160 --> 00:21:37,220
in the browser here.

284
00:21:38,020 --> 00:21:42,970
I'm going to look here for Visual Studio code first, so you can just go to Code Visual Studio dot com

285
00:21:42,970 --> 00:21:43,870
slash download.

286
00:21:44,230 --> 00:21:48,700
You notice that they have it for whatever operating system you want.

287
00:21:48,910 --> 00:21:54,220
You have all these versions of Windows you can download it for and then you notice there's multiple

288
00:21:54,220 --> 00:21:59,470
distros of Linux here like, for example, you know, Red Hat, Debian two and all that.

289
00:22:00,820 --> 00:22:05,260
So you can download it for for one of those two and then Mac, of course, here.

290
00:22:06,250 --> 00:22:08,740
So that's where you can download Visual Studio code.

291
00:22:10,360 --> 00:22:16,630
Sea Lion is going to be here on the Jet Grain's website, so you can kind of just Google that link.

292
00:22:17,230 --> 00:22:23,050
Download Sea Lion Safari, click on one of the first results, but you want to come here to get brain

293
00:22:23,050 --> 00:22:24,580
scan their website.

294
00:22:25,030 --> 00:22:28,170
They're the ones that make a sea lion pie, charm and intelligence.

295
00:22:29,350 --> 00:22:31,390
And you can just download it here.

296
00:22:31,390 --> 00:22:34,090
You notice they also have it for Windows, Mac and Linux.

297
00:22:34,660 --> 00:22:39,820
So you notice it says it includes an evaluation license key for free 30 day trial.

298
00:22:40,090 --> 00:22:43,210
So depending on your situation, you might have to pay for this.

299
00:22:43,220 --> 00:22:48,010
That's why I don't want to limit you to only this and want to show you those other options as well.

300
00:22:48,280 --> 00:22:49,210
But it is great.

301
00:22:49,210 --> 00:22:54,820
I think it's worth it if you're really serious about writing a lot of code in big projects in the future

302
00:22:54,820 --> 00:22:55,720
in C++.

303
00:22:56,470 --> 00:23:02,490
I think that it is is totally worth it if it just makes your life a lot easier when it comes to writing

304
00:23:02,500 --> 00:23:03,430
C++ code.

305
00:23:05,550 --> 00:23:10,530
So you can download that here, if you're a student, you might be able to get it for free by using

306
00:23:10,530 --> 00:23:14,400
your student email so you can kind of look into that on your own.

307
00:23:15,090 --> 00:23:21,300
You can kind of search like, you know, getting sea lion as a student and probably walk you through

308
00:23:21,300 --> 00:23:21,960
how to do that.

309
00:23:22,820 --> 00:23:24,330
So let's head over to them.

310
00:23:24,350 --> 00:23:29,840
You can get them here if you don't have it before you just go and try and download it.

311
00:23:30,020 --> 00:23:37,430
If you have Mac or Linux, you should check to see if you already have them the way that you can do

312
00:23:37,430 --> 00:23:37,730
that.

313
00:23:37,730 --> 00:23:43,130
For example, if you're on Mac, this is not a Mac, but you could go up to the little like magnifying

314
00:23:43,130 --> 00:23:50,650
glass search icon up here and then you can type terminal once you bring that up.

315
00:23:50,660 --> 00:23:58,560
So TR m and then should probably autocomplete for you and that will bring up your terminal, you know,

316
00:23:58,580 --> 00:24:00,710
which will be your command prompt kind of like this.

317
00:24:01,040 --> 00:24:04,640
And then once your command prompt is up, you can just type them and press enter.

318
00:24:04,640 --> 00:24:06,650
And if it's installed, it'll bring it up.

319
00:24:07,370 --> 00:24:09,860
If not, then you know you need to install it.

320
00:24:10,040 --> 00:24:11,230
Same thing for Linux.

321
00:24:11,240 --> 00:24:17,150
Go into your bash shell type, then if it brings it up, then good.

322
00:24:17,480 --> 00:24:24,310
If not, then you have to install it and you can install it here on this website.

323
00:24:24,320 --> 00:24:25,370
Vim dot org.

324
00:24:26,240 --> 00:24:33,710
You notice that the Mac one you might want to use homebrew, which is right here homebrew is a great,

325
00:24:35,000 --> 00:24:39,920
great tool on Mac for installing a ton of packages and stuff.

326
00:24:39,920 --> 00:24:42,860
It just makes your life super, super easy.

327
00:24:43,160 --> 00:24:49,460
So I think that using homebrew can help you a lot, so I might look into that.

328
00:24:49,730 --> 00:24:54,590
If you know, even if you already have, it would be good to have homebrew to install a lot of different

329
00:24:54,590 --> 00:24:54,920
stuff.

330
00:24:54,920 --> 00:24:56,540
So I want to point that out as well.

331
00:24:57,770 --> 00:25:02,480
Linux Yeah, you probably have it, but of course they have some stuff right here for a Unix based systems,

332
00:25:02,480 --> 00:25:08,290
you know, that includes Linux, so you can follow these links and and install that on Windows.

333
00:25:08,300 --> 00:25:15,290
I would use this standard self installing executable, and you can just leave all the default boxes

334
00:25:15,290 --> 00:25:19,850
checked and just follow the instructions during the installation and just keep clicking next.

335
00:25:20,600 --> 00:25:26,210
If you're new to this and you don't know what's going on when it's listing information on that installation

336
00:25:26,210 --> 00:25:30,110
process, just accept all the defaults and go through and install it.

337
00:25:32,000 --> 00:25:38,840
So, yeah, that's kind of all three of these, and I think that you could choose any one of them.

338
00:25:39,170 --> 00:25:42,100
I just wanted to kind of lay those options out for you.

339
00:25:44,190 --> 00:25:49,230
And no matter what one you choose, you will be able to go through the course just fine.

340
00:25:49,350 --> 00:25:56,340
So pick whatever one you think meets your needs and I will see you in the next lecture.
