Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,300 --> 00:00:09,300
Oh, all right, welcome back, ladies and gentlemen, and basically, once again, this explanation
2
00:00:09,300 --> 00:00:15,900
and these tutorial about how to install additional ID is also an optional video.
3
00:00:15,900 --> 00:00:17,340
It's an optional tutorial.
4
00:00:17,340 --> 00:00:19,380
It's definitely not mandatory.
5
00:00:19,950 --> 00:00:28,440
And if you already installed some I.D. and then, of course, feel free to move on for the next section
6
00:00:28,440 --> 00:00:32,940
and start practicing to start learning our programming language.
7
00:00:34,860 --> 00:00:42,290
So in this video, what we are going to do is basically to be introduced with code blocks, Nyako blocks.
8
00:00:42,300 --> 00:00:46,980
I'm saying code light in code light is also a nice idea.
9
00:00:47,910 --> 00:00:56,040
And if you're writing in Google, you will see that it completes you to make some comparison between
10
00:00:56,040 --> 00:00:59,990
code light and code blocks to visual studio and so on and so forth.
11
00:01:00,510 --> 00:01:07,080
So basically what we are going to do is to install code like so press enter and let's go.
12
00:01:07,080 --> 00:01:13,310
Maybe, maybe let's use the latest code light and download that will be faster.
13
00:01:13,320 --> 00:01:19,080
So called Light Dog will open up these via these website.
14
00:01:19,410 --> 00:01:26,880
And as you can see, here are some information regarding code light supporting all major compilers.
15
00:01:27,120 --> 00:01:29,580
And also it's a lightweight and efficient.
16
00:01:30,670 --> 00:01:37,890
And basically this BHB and no guess is actually not relevant for our course.
17
00:01:38,920 --> 00:01:46,400
But what will be interesting is in the compiler itself, C, C++ supports them.
18
00:01:46,970 --> 00:01:56,000
And so here we have a lot of news regarding code light and basically what is code light.
19
00:01:56,130 --> 00:02:00,730
OK, let's read it from their official website and see a couple of words about it.
20
00:02:01,210 --> 00:02:07,200
So code light is, first of all, an open source free cross platform idy OK.
21
00:02:07,270 --> 00:02:14,860
And by saying cross platform, I think you already know by this point that a cross platform idee is
22
00:02:14,860 --> 00:02:21,700
basically an idea that can run across and be executed across different platforms.
23
00:02:21,730 --> 00:02:25,690
OK, so for example, you have like I don't know, Windows, Linux, Mac.
24
00:02:25,690 --> 00:02:31,800
OK, so you can also see that it supports different versions of Windows.
25
00:02:31,810 --> 00:02:40,350
It supports different distributions of you know, that it supports basically the Debian in the wound
26
00:02:40,390 --> 00:02:45,550
distribution of the Linux Fedora, Mac OS and so on and so forth.
27
00:02:45,580 --> 00:02:45,940
OK.
28
00:02:47,960 --> 00:02:53,400
So that's basically a quick introduction to what is code right now.
29
00:02:53,450 --> 00:02:56,360
Let us start and download and install it.
30
00:02:57,110 --> 00:03:01,370
So Presson Download Code Light 15, that's the version.
31
00:03:01,760 --> 00:03:05,360
And basically here you you will see a couple of versions.
32
00:03:05,400 --> 00:03:12,110
OK, so basically before we do all of that, OK, there are a couple of steps that we are going to do
33
00:03:12,110 --> 00:03:16,250
in this video that it's very important for me to note beforehand.
34
00:03:16,460 --> 00:03:23,210
We are going to install code light, then we are going to install the C and C++ compiler for Windows,
35
00:03:23,210 --> 00:03:24,680
which is mean GW.
36
00:03:25,190 --> 00:03:34,580
And we are also going to install some C language server or a demon that is called LVM.
37
00:03:34,580 --> 00:03:38,000
You will see that that will be our third step.
38
00:03:38,240 --> 00:03:47,240
And it basically supports different functionalities and features some smart features to our editor like
39
00:03:47,240 --> 00:03:52,020
code completion compiler saying go to definition and many more.
40
00:03:52,040 --> 00:03:56,810
OK, so basically it will help us like to develop more easily.
41
00:03:58,280 --> 00:03:58,750
All right.
42
00:03:58,760 --> 00:04:01,220
So let's start with the first steps or download.
43
00:04:01,310 --> 00:04:08,780
As we already talked about in here, you have like stable versions, OK, make sure that you work with
44
00:04:08,780 --> 00:04:12,650
stable versions and that with some weekly updated versions.
45
00:04:12,920 --> 00:04:16,340
So stable versions you have like code like 15 for Windows.
46
00:04:16,340 --> 00:04:24,230
Sixty four beaten thirty two bit depending on what on what system you're using.
47
00:04:24,230 --> 00:04:28,190
Choose your version of it you want.
48
00:04:28,190 --> 00:04:31,250
I'm going to go with Windows sixty four beating Thula.
49
00:04:32,000 --> 00:04:37,520
OK, and now basically I created a new director recalled C programming.
50
00:04:37,520 --> 00:04:42,760
It is going to store and to see here all the ideas just for these trials.
51
00:04:43,100 --> 00:04:46,070
So let's see through the night.
52
00:04:46,490 --> 00:04:54,530
OK, here in the code light surveyed that it downloaded and once the download is complete, ok, probably
53
00:04:54,530 --> 00:04:56,270
have something with the insurance right now.
54
00:04:56,420 --> 00:04:58,310
So it's very, very slow.
55
00:04:58,910 --> 00:05:03,630
But once the download is complete, let's click it and install it.
56
00:05:04,520 --> 00:05:08,050
So now the installation should start.
57
00:05:08,060 --> 00:05:08,990
OK, so press.
58
00:05:08,990 --> 00:05:09,440
Yes.
59
00:05:10,370 --> 00:05:13,520
And now there is the code light agreement.
60
00:05:14,540 --> 00:05:17,690
You may read this agreement to the fullest.
61
00:05:17,690 --> 00:05:19,850
You may also just accept that you can, Waymond.
62
00:05:20,800 --> 00:05:27,790
Do what's necessary for you basically, basically always try to read at least a little bit like I did
63
00:05:27,790 --> 00:05:30,760
before running these creating this video.
64
00:05:30,760 --> 00:05:36,430
So press next here, we will choose what director the installation should be.
65
00:05:36,430 --> 00:05:38,480
So C program files, code light.
66
00:05:38,560 --> 00:05:39,460
OK, no problem.
67
00:05:40,180 --> 00:05:45,340
Go light and let's create a desktop shortcut and create a quick launch shortcut.
68
00:05:46,470 --> 00:05:47,250
Press next.
69
00:05:47,610 --> 00:05:53,600
So basically, these desk, the shortcut will allow us to execute the program directly from the desktop
70
00:05:53,610 --> 00:05:57,560
and also there is a quick line shortcut that will also be added.
71
00:05:57,570 --> 00:06:02,760
So install and run the installation is going on.
72
00:06:02,790 --> 00:06:10,680
So now now is the question, should we launch code light like right away or should we wait a little
73
00:06:10,680 --> 00:06:10,870
bit?
74
00:06:11,460 --> 00:06:17,640
Basically, we can uncheck it, OK, and wait till the installation is complete.
75
00:06:19,550 --> 00:06:24,800
And what do we do that because there is no reason to run cold light yet, we still need to download
76
00:06:24,800 --> 00:06:25,670
a couple of things.
77
00:06:25,700 --> 00:06:26,840
So press Finnish.
78
00:06:27,740 --> 00:06:35,090
And we are ready to move on to the installation of the main GW, which is simply a set of tools for
79
00:06:35,090 --> 00:06:35,860
the compiler.
80
00:06:35,870 --> 00:06:39,860
So I mean, GW Download and we will install it.
81
00:06:40,100 --> 00:06:42,410
Let's go here maybe to SourceForge.
82
00:06:43,400 --> 00:06:44,180
Yeah, that's OK.
83
00:06:44,210 --> 00:06:47,380
So SourceForge probably will be OK.
84
00:06:47,810 --> 00:06:49,040
It's downloaded.
85
00:06:50,110 --> 00:06:56,080
Let's download, download, download, where is the download, why the download hasn't started yet,
86
00:06:56,080 --> 00:06:56,810
so awesome.
87
00:06:57,340 --> 00:07:00,570
Cold light is OK, but we will install it.
88
00:07:00,580 --> 00:07:01,930
You mean GW?
89
00:07:03,830 --> 00:07:11,300
So, Chris, safe and now it's being installed, downloaded, and now let's install it, so many GW
90
00:07:11,300 --> 00:07:15,980
installation managers set up to look at the tool.
91
00:07:16,010 --> 00:07:16,910
That's the tool.
92
00:07:17,240 --> 00:07:21,440
So this is a free software, the product line store license.
93
00:07:21,440 --> 00:07:26,980
It will be stored or installed in this seeming GW press on continue.
94
00:07:27,520 --> 00:07:28,700
There you go.
95
00:07:28,760 --> 00:07:32,900
So now basically the installation is in place.
96
00:07:34,080 --> 00:07:41,100
And now once the download will be complete, let me go from this website, I don't like these too many
97
00:07:41,100 --> 00:07:41,670
ads here.
98
00:07:43,560 --> 00:07:48,300
So once the download will be complete, we will be able to move forward.
99
00:07:48,310 --> 00:07:53,640
So until then, I will cut the video and I'll see you then.
100
00:07:54,470 --> 00:08:03,710
Now, press continue and basically you will see this when GW installation manager and without delving
101
00:08:03,710 --> 00:08:10,280
into all the details here, let's select, first of all, the mingy W three to base, OK, which is
102
00:08:10,280 --> 00:08:19,850
the Ĺ emeta package that provides a basic U.S. installation and includes the C compiler linker and other
103
00:08:19,850 --> 00:08:20,870
binary tools.
104
00:08:20,900 --> 00:08:26,480
OK, so that's the basic thing that we need and also we will need.
105
00:08:27,140 --> 00:08:27,440
Yeah.
106
00:08:27,440 --> 00:08:29,720
Let's also edit so Mark for installation.
107
00:08:30,590 --> 00:08:38,870
So the Jianyu C++ compiler, OK, which will be used for a C++ things.
108
00:08:39,440 --> 00:08:41,500
OK, so this is over.
109
00:08:41,540 --> 00:08:42,020
OK.
110
00:08:42,440 --> 00:08:50,450
Now the last step that we need to do the set up correctly is to click on installation play changes in
111
00:08:50,450 --> 00:08:55,910
here from basically asks what things that we modify and we want to change them.
112
00:08:55,910 --> 00:08:57,140
So Prezant apply.
113
00:08:57,600 --> 00:09:05,420
This will basically install all the necessary things for our C and C++ compilers that we just specified.
114
00:09:06,630 --> 00:09:10,470
The applying is still going on today.
115
00:09:10,610 --> 00:09:14,030
My computer is kind of tired, I guess.
116
00:09:15,060 --> 00:09:23,040
So it takes some time, so we take the time to complete everything, but don't worry, it will be over
117
00:09:23,040 --> 00:09:24,170
soon enough.
118
00:09:25,050 --> 00:09:29,760
So now the installation and basically the changes are applied.
119
00:09:30,180 --> 00:09:37,590
And press the button that you have like close in now simply you may also close it.
120
00:09:37,690 --> 00:09:44,430
OK, now what we are going to do is that we are going to add, OK, the mingy W
121
00:09:46,860 --> 00:09:52,550
binary release, binary execution to the environment variables.
122
00:09:53,490 --> 00:09:58,110
So simply open up the directory that contains it where it is.
123
00:09:58,160 --> 00:09:59,980
Here it is.
124
00:10:00,300 --> 00:10:03,390
Yeah, but here it is.
125
00:10:03,510 --> 00:10:04,470
OK, so awesome.
126
00:10:04,890 --> 00:10:05,970
So there you go.
127
00:10:05,970 --> 00:10:06,870
There is the mind.
128
00:10:06,870 --> 00:10:10,650
You know, it was like it was in C right.
129
00:10:10,650 --> 00:10:13,570
It was in C Mangi W..
130
00:10:13,620 --> 00:10:15,710
So go to see W bin.
131
00:10:16,260 --> 00:10:16,660
OK.
132
00:10:16,680 --> 00:10:23,040
And that's basically where it's going to look for a different execution's, for example, the compilers.
133
00:10:23,320 --> 00:10:26,370
OK, so we want our system to be aware of it.
134
00:10:26,520 --> 00:10:32,580
C++ that exists here, Jesusita Xs here plus plus that X here and so on and so forth.
135
00:10:32,820 --> 00:10:42,240
So without diving into all these details, simply open up the system or just go to press the windows
136
00:10:42,240 --> 00:10:46,920
button and type down environment system variables.
137
00:10:46,920 --> 00:10:48,180
And that's what you will see.
138
00:10:48,420 --> 00:10:49,810
System properties.
139
00:10:49,830 --> 00:10:53,840
OK, and there you will have like the computer name, the hardware.
140
00:10:53,850 --> 00:10:55,440
Of course, I'm not going to show you.
141
00:10:55,440 --> 00:10:56,340
That's a secret.
142
00:10:56,610 --> 00:10:57,960
I'm not going to show you that.
143
00:10:58,590 --> 00:11:01,180
So there is the environment variables.
144
00:11:01,180 --> 00:11:02,280
So press on it.
145
00:11:02,520 --> 00:11:06,620
There was the environment variables and here in the past.
146
00:11:06,760 --> 00:11:15,480
OK, so you may also define it for the specific user or you can also and it's preferred to the same
147
00:11:15,480 --> 00:11:22,410
for the system variables, but basically go here to the path environment variable.
148
00:11:22,420 --> 00:11:30,080
These are its values and press edit and here you will not see these seeming GWB, it will not be there.
149
00:11:30,330 --> 00:11:34,550
So what you have to do is simply depress you and edit like here.
150
00:11:34,560 --> 00:11:40,860
OK, so what it was previously, it was where it is, it was like this.
151
00:11:40,890 --> 00:11:42,650
So basically it's deleted.
152
00:11:42,660 --> 00:11:51,510
So when you add CAGW bin or basically whatever path you were using for your mean GW awesome press,
153
00:11:51,510 --> 00:11:53,060
OK, press, OK.
154
00:11:53,070 --> 00:11:56,520
And basically the step is now behind us.
155
00:11:56,520 --> 00:11:58,290
It's over now.
156
00:11:58,290 --> 00:12:07,110
We are going to go back to Google and simply to write down like these following line of code.
157
00:12:07,500 --> 00:12:08,340
Line of code.
158
00:12:08,730 --> 00:12:18,430
These following installation is going to be like LVM releases, releases a little VMD at Oracle.
159
00:12:18,720 --> 00:12:20,040
So it the completes me.
160
00:12:20,610 --> 00:12:26,070
It's going to be something like this releases that LVM dot org download HD, HTML.
161
00:12:26,610 --> 00:12:33,480
And that's basically going to be the website where we are going to download and install some C language
162
00:12:33,480 --> 00:12:43,530
deman not like a real demon, but basically some language server that basically can work with different
163
00:12:43,530 --> 00:12:46,380
ideas, with different editors.
164
00:12:47,190 --> 00:12:56,490
And it will simply allow us to make and to basically it will add us some features to our editor, such
165
00:12:56,490 --> 00:13:03,870
as code completion, that you will be able to like autocomplete things on your own or compile errors
166
00:13:04,050 --> 00:13:10,260
go to definition's, which will already be discussed, which will be discussed also, and you will see
167
00:13:10,260 --> 00:13:11,400
some examples of it.
168
00:13:11,970 --> 00:13:15,900
And if you more so, let's go to it here.
169
00:13:15,900 --> 00:13:20,460
Press where is the OK press search in here.
170
00:13:20,460 --> 00:13:22,620
In my case that the first resolved.
171
00:13:22,620 --> 00:13:24,030
So let's get into it.
172
00:13:24,030 --> 00:13:32,940
Let's go here to the pre-built binaries press on windows sixty four bit and let's download and install
173
00:13:32,940 --> 00:13:37,240
it to where where is where is our on directories.
174
00:13:37,260 --> 00:13:38,400
Let me see.
175
00:13:38,940 --> 00:13:46,230
Our directory is right here, so let me just copy that and put it here instead.
176
00:13:46,320 --> 00:13:46,740
All right.
177
00:13:47,310 --> 00:13:48,130
So yeah.
178
00:13:48,270 --> 00:13:49,080
There you go.
179
00:13:50,360 --> 00:13:51,410
Press enter.
180
00:13:53,410 --> 00:14:02,060
Let's create LVM, Elvie, and, you know, we are going to save it.
181
00:14:03,680 --> 00:14:11,890
OK, so so there you go, basically that the previous download, we don't really matter.
182
00:14:11,920 --> 00:14:13,070
It was just a test.
183
00:14:13,070 --> 00:14:20,630
So press on, uninstall it, start installing these all the time, going OK.
184
00:14:20,660 --> 00:14:22,820
So now the setup is loading.
185
00:14:22,820 --> 00:14:25,690
You'll see like percentages going on on your screen.
186
00:14:26,120 --> 00:14:32,090
You cannot see it right here because I have like a couple of displays and one of them is running while
187
00:14:32,090 --> 00:14:37,370
the other well one of them is being recorded while the other is not.
188
00:14:38,220 --> 00:14:42,000
All right, so here it is, LVM, set up next.
189
00:14:42,510 --> 00:14:43,770
I agree.
190
00:14:43,890 --> 00:14:44,600
All right.
191
00:14:45,210 --> 00:14:49,890
Also select here at LVM to the system baths for all users.
192
00:14:49,920 --> 00:14:57,090
OK, so that means we will not be will not have to edit the environment variables manually and will
193
00:14:57,090 --> 00:15:05,520
kind of do it behind the scenes for us and our press next in here to choose a day rectory where LVM
194
00:15:05,520 --> 00:15:06,960
should be installed.
195
00:15:07,200 --> 00:15:09,380
OK, I don't remember.
196
00:15:09,390 --> 00:15:11,700
I think that this version supports it.
197
00:15:11,700 --> 00:15:17,340
But nevertheless, let's assume that still it has like these problem.
198
00:15:17,340 --> 00:15:25,470
I think it had this problem where we had simply to choose a directory there inside of these directories.
199
00:15:25,470 --> 00:15:29,000
There is basically no spaces.
200
00:15:29,040 --> 00:15:33,590
OK, so this is where it is.
201
00:15:33,780 --> 00:15:34,380
Here it is.
202
00:15:34,710 --> 00:15:36,260
Let's create a new directory here.
203
00:15:36,270 --> 00:15:45,390
Let's call it, I don't know, LVM installation without any spaces also are in these directories as
204
00:15:45,390 --> 00:15:46,440
well as in this one.
205
00:15:47,550 --> 00:15:51,610
Just to avoid some unnecessary problems, so, yeah, there you go.
206
00:15:51,660 --> 00:15:54,810
It's fluorescing, stall and stall.
207
00:15:55,650 --> 00:16:04,410
And hopefully this LVM will be will be good now and it will be installed correctly and everything will
208
00:16:04,410 --> 00:16:06,840
be set up exactly as it should.
209
00:16:07,420 --> 00:16:10,470
So once it's done, I'm going to proceed with the video.
210
00:16:11,280 --> 00:16:17,130
All right, so now it's over, let's finish, and that's basically glamorising.
211
00:16:18,610 --> 00:16:25,990
Now we are going to open up our a short cut, short cut, short cut where it is.
212
00:16:27,560 --> 00:16:30,000
The shortcut is right on this side.
213
00:16:30,020 --> 00:16:34,010
Let me check it, let me check it and let me get it.
214
00:16:34,040 --> 00:16:36,710
OK, so that da da da da da dum.
215
00:16:37,800 --> 00:16:42,990
Because, like, he takes some time, these downloading, and I want everything to be as perfect as
216
00:16:42,990 --> 00:16:50,310
possible, so click on the code like we are now going to run it and basically to make our kind of final
217
00:16:50,310 --> 00:16:51,290
configurations.
218
00:16:52,290 --> 00:16:56,710
So basically it is OK.
219
00:16:56,730 --> 00:17:00,810
So you probably get like this screen right here.
220
00:17:00,840 --> 00:17:01,890
Welcome to the setup.
221
00:17:01,890 --> 00:17:06,540
Wizard Wizard will help you set up cool light to feed your coding style.
222
00:17:07,080 --> 00:17:08,790
And now let's click next.
223
00:17:09,300 --> 00:17:17,850
So development that so simply probably the chances are high that we are willing to use that, especially
224
00:17:17,850 --> 00:17:21,840
in this course for CNN or C++ development press next.
225
00:17:22,190 --> 00:17:25,020
And here are basically the set up of the compilers.
226
00:17:25,030 --> 00:17:31,050
OK, so we have like code light as the ITV editor.
227
00:17:32,090 --> 00:17:39,230
And the environment development and also we installed the compilers, right, we installed Compiler
228
00:17:39,230 --> 00:17:45,350
Forese and a compiler for C++ and now there are simply two options.
229
00:17:45,470 --> 00:17:47,400
OK, two options to do it.
230
00:17:47,720 --> 00:17:52,280
There is an option like to install it and to do it kind of automatically.
231
00:17:52,280 --> 00:17:53,510
But still, I'm not sure.
232
00:17:53,510 --> 00:18:00,440
I think there are also some issues that can come along with it and they are kind of more difficult to
233
00:18:00,440 --> 00:18:01,770
figure out later on.
234
00:18:02,180 --> 00:18:08,810
And the other thing is simply to use scan and to scan your computer and file the find the installed
235
00:18:08,810 --> 00:18:09,650
compilers.
236
00:18:09,920 --> 00:18:14,090
And probably if we press it and we will take a look at what it gives us.
237
00:18:14,340 --> 00:18:16,930
OK, if it will give us today.
238
00:18:17,810 --> 00:18:18,710
Come on.
239
00:18:19,670 --> 00:18:22,790
What's going on, what's going on?
240
00:18:23,030 --> 00:18:24,230
Yes, awesome.
241
00:18:24,680 --> 00:18:28,190
All right, so you will probably have like one option here.
242
00:18:28,190 --> 00:18:30,440
You will not have a couple of options.
243
00:18:30,440 --> 00:18:31,760
You will have, like, just one.
244
00:18:32,330 --> 00:18:35,990
And if you will find out these mean GW.
245
00:18:36,170 --> 00:18:40,040
So press it and press next theme.
246
00:18:40,190 --> 00:18:40,800
I don't know.
247
00:18:40,880 --> 00:18:43,400
Choose whatever theme you would like to use.
248
00:18:43,400 --> 00:18:46,820
May be dark, maybe system default, maybe gray.
249
00:18:47,180 --> 00:18:47,750
I don't know.
250
00:18:47,900 --> 00:18:49,430
Dark is nice, right.
251
00:18:49,460 --> 00:18:50,360
Dark is nice.
252
00:18:50,630 --> 00:18:54,790
So let's use it or finish it.
253
00:18:55,350 --> 00:18:55,700
Yeah.
254
00:18:55,790 --> 00:19:02,840
So now you will see the changes being applied to the code like Ed is being reopened.
255
00:19:03,990 --> 00:19:07,470
And probably, I guess this is it.
256
00:19:08,340 --> 00:19:17,430
So hopefully we completed this step of our download and install code light and mingy W and also some
257
00:19:17,430 --> 00:19:23,900
tools for auto completion and other smart features that may help us in the development process.
258
00:19:23,910 --> 00:19:25,640
Everything is configured correctly.
259
00:19:25,920 --> 00:19:31,680
And I think in the next video I'm going to show you how to create a new project and how to set up things
260
00:19:32,220 --> 00:19:34,840
and to start developing.
261
00:19:35,040 --> 00:19:38,100
So until next time, I'll see you in the next video.
24215
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.