Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,460 --> 00:00:07,920
All right, so I guess now the download of Visual Studio, the download and install, is finished.
2
00:00:08,410 --> 00:00:16,840
Basically it took some time and I think that in the end of the process where we stopped in our previous
3
00:00:16,840 --> 00:00:23,780
video, you had like to reboot your computer in order to complete the installation process.
4
00:00:24,220 --> 00:00:31,060
So now once the installation process is done, let us start and open up Visual Studio and see how it
5
00:00:31,060 --> 00:00:31,720
looks like.
6
00:00:32,200 --> 00:00:39,580
Talk a little bit about some of its features, how to create a new project, how to start working with
7
00:00:39,580 --> 00:00:40,430
it and so on.
8
00:00:40,750 --> 00:00:43,510
So this video is going to be kind of fun.
9
00:00:43,690 --> 00:00:49,720
And I hope you're excited as much as I am, because that will be our first project using Visual Studio.
10
00:00:49,720 --> 00:00:50,890
So let us start.
11
00:00:52,180 --> 00:00:59,860
So let's go and type down Visual Studio 20 nineteen, so there you go, there is the installer and there
12
00:00:59,860 --> 00:01:02,050
is also the Visual Studio twenty nineteen.
13
00:01:02,050 --> 00:01:10,620
So let's open it up and see how basically it will start working on Visual Studio twenty nineteen.
14
00:01:11,560 --> 00:01:14,470
There may be de de de de de de.
15
00:01:14,650 --> 00:01:15,100
Come on.
16
00:01:16,100 --> 00:01:24,550
OK, so one thing, the first thing once it opens up is basically these kind of window, that gives
17
00:01:24,550 --> 00:01:28,260
you a couple of options to connect to a codebase clone repository.
18
00:01:28,270 --> 00:01:35,020
OK, these things maybe will not be discussed in this video, open local folder, open existing project
19
00:01:35,020 --> 00:01:37,180
or solution or create a new project.
20
00:01:38,090 --> 00:01:44,990
Which is exactly what we are going to do in this video to see how we create how can we create a new
21
00:01:44,990 --> 00:01:45,610
project.
22
00:01:46,310 --> 00:01:49,040
So click on it, create new project.
23
00:01:49,400 --> 00:01:57,200
And here you will probably if you followed all the instructions in the download and install steps,
24
00:01:57,200 --> 00:02:02,580
Prolene, our previous video, then you will see a couple of options here, OK?
25
00:02:02,600 --> 00:02:10,350
You will see like empty project that gives you the option to start from scratch with C++ for windows.
26
00:02:10,390 --> 00:02:13,790
OK, this may also be a good option.
27
00:02:14,180 --> 00:02:20,980
A console app, which is a console application, including the Hello World by Default program.
28
00:02:21,620 --> 00:02:24,800
There is this Semak Project Windows desktop.
29
00:02:24,800 --> 00:02:25,090
Okay.
30
00:02:25,160 --> 00:02:30,860
And additional things that will probably not be discussed right now because there is no reason to dive
31
00:02:30,860 --> 00:02:32,130
into it dynamically.
32
00:02:32,270 --> 00:02:34,060
Library and static library.
33
00:02:34,130 --> 00:02:36,610
These are good things, but not for now.
34
00:02:37,040 --> 00:02:39,860
For now we will just see how we can create a new project.
35
00:02:39,870 --> 00:02:40,730
So two options.
36
00:02:40,730 --> 00:02:46,420
Two main options, in my opinion, for this is the empty project and the console application project.
37
00:02:46,880 --> 00:02:51,020
So I will go with this one selected press on next.
38
00:02:51,950 --> 00:02:58,790
And now you see that you are going to create a console application and it's going to be to have these
39
00:02:58,790 --> 00:02:59,710
project name.
40
00:03:00,080 --> 00:03:02,360
So let's give it a project name.
41
00:03:02,370 --> 00:03:05,450
So what should be the project name?
42
00:03:05,790 --> 00:03:10,010
Let's start with my first project.
43
00:03:10,190 --> 00:03:13,240
OK, does this name is OK with you?
44
00:03:14,110 --> 00:03:21,160
And here you will specify the location where these basically project is going to reside.
45
00:03:21,940 --> 00:03:27,900
You can go with the default or simply you can change it to another location on your computer.
46
00:03:28,390 --> 00:03:31,150
And also here you have like the solution name.
47
00:03:31,390 --> 00:03:37,000
So we have the project name and the solution name and simply saying, if you will put your mouth on
48
00:03:37,000 --> 00:03:44,200
this icon, you will see that a solution is basically a container for one or more projects in visual
49
00:03:44,200 --> 00:03:44,790
studio.
50
00:03:45,220 --> 00:03:50,440
So you can simply call it, I don't know, my first let's call it solution.
51
00:03:50,740 --> 00:03:55,410
OK, we'll talk a little bit more in depth about it once we create the project.
52
00:03:55,930 --> 00:03:57,160
So, yeah.
53
00:03:57,160 --> 00:03:58,600
So let's go like this.
54
00:03:58,610 --> 00:04:07,700
So create and now we will see how our first magic in Visual Studio is going to happen.
55
00:04:07,720 --> 00:04:09,250
So there it is.
56
00:04:10,120 --> 00:04:10,760
Come here.
57
00:04:11,380 --> 00:04:11,900
Awesome.
58
00:04:11,920 --> 00:04:19,750
So that's our first project that we created in our in our visual studio.
59
00:04:20,020 --> 00:04:21,300
Are you excited, guys?
60
00:04:21,410 --> 00:04:22,870
It's simply amazing.
61
00:04:24,420 --> 00:04:31,010
So just before we move on, OK, I would like to talk about a couple of things I'm not going to to to
62
00:04:31,020 --> 00:04:31,860
talk about.
63
00:04:32,130 --> 00:04:39,660
These are source file, OK, which may be C or C++, where we'll see how we can create for either of
64
00:04:39,660 --> 00:04:40,400
these languages.
65
00:04:40,410 --> 00:04:41,400
Don't worry about it.
66
00:04:42,120 --> 00:04:47,540
But what I want you to to talk with you about is a little bit about the visual studio itself.
67
00:04:47,820 --> 00:04:57,090
So basically all of that is the visual studio and it's simply an idea, OK, packed with a lot of features
68
00:04:57,300 --> 00:05:02,990
like code browsing, colorization, you can see a lot of nice colors here.
69
00:05:03,070 --> 00:05:10,510
And you will come to to an understanding while you will develop that some of these colors make sense.
70
00:05:10,580 --> 00:05:14,830
OK, there is some rules for using these colors.
71
00:05:14,850 --> 00:05:20,580
OK, you will see that you have like a completion of symbols while you develop.
72
00:05:20,880 --> 00:05:29,910
You have a built in compiler and basically torro built system that you can use and you have like a debugger
73
00:05:29,910 --> 00:05:34,730
and testing code, analyzes tools and so on.
74
00:05:35,130 --> 00:05:46,130
So there is a lot of things that these visual studio idea provides us, and that's mainly why it's it
75
00:05:46,140 --> 00:05:47,170
is so heavy.
76
00:05:47,190 --> 00:05:54,420
It like it's it's not like code blocks, OK, that you install, download it and install living within
77
00:05:54,420 --> 00:05:55,650
like seconds.
78
00:05:56,520 --> 00:06:04,020
There are visual studio ways like about seven or eight gigabytes, but that makes sense.
79
00:06:04,860 --> 00:06:05,280
So.
80
00:06:06,640 --> 00:06:13,840
Of course, there are additional things that we can talk about this visual studio, but for now, these
81
00:06:13,840 --> 00:06:18,390
guys, we will talk about the basics that will help you to get started.
82
00:06:19,740 --> 00:06:28,050
All right, so now let's take a look at these nice menu here on the right, and if you will come to
83
00:06:28,050 --> 00:06:31,170
see here, you will see like solution, my first solution.
84
00:06:31,470 --> 00:06:35,130
And under the solution, you will see my first project.
85
00:06:35,470 --> 00:06:41,640
OK, so let's first of all, take a look at what's inside of the file explorer.
86
00:06:41,670 --> 00:06:43,800
OK, so right.
87
00:06:43,800 --> 00:06:49,170
Click on the solution and go to open folder in file explorer in here.
88
00:06:50,010 --> 00:06:58,110
Basically, you will see the the actual place where the project and the solution and all of them reside,
89
00:06:58,110 --> 00:07:00,180
OK, in actual directorate.
90
00:07:01,560 --> 00:07:09,250
And you can see here a lot of files, OK, aside to just the source files that you expect to see.
91
00:07:09,600 --> 00:07:17,700
OK, so you see some file called Dot SLN You see also via a directory, my first project, which simply
92
00:07:17,700 --> 00:07:18,420
contains.
93
00:07:19,960 --> 00:07:29,110
A lot of information regarding the projects themselves and simply the code appears as a solution in
94
00:07:29,110 --> 00:07:35,350
visual studio, and that's something that we like to you to have to to take, at least for the beginning,
95
00:07:35,350 --> 00:07:36,250
is granted.
96
00:07:36,460 --> 00:07:41,860
OK, and the solution, as we said, contains of a collection of projects.
97
00:07:42,340 --> 00:07:46,450
And there is the Dr. Salan file, which is simply used.
98
00:07:46,480 --> 00:07:50,470
These file is used for configuring the solution.
99
00:07:51,040 --> 00:07:56,730
There are also additional, like you've seen here, VXI X Proj Files.
100
00:07:56,850 --> 00:08:03,220
OK, they are used simply to configure each project in a given solution.
101
00:08:04,610 --> 00:08:11,510
And basically saying, OK, you have like these source file right here, but basically saying these
102
00:08:11,540 --> 00:08:18,590
all of these files that I just talked about, the VCR, sex, proj in the data Salom, all files are
103
00:08:18,590 --> 00:08:28,370
simply used for organization purposes and to help and to organize and define different include paths,
104
00:08:28,700 --> 00:08:37,370
compiler settings, and simply saying how different elements and projects should be connected all together.
105
00:08:37,490 --> 00:08:42,620
OK, so that's just one thing that I wanted like you to be familiar with.
106
00:08:43,040 --> 00:08:50,750
And there is also an additional option to do are to do away with this data.
107
00:08:50,750 --> 00:08:58,060
Salan and DOT proj files and simply to configure your own environment independently.
108
00:08:58,550 --> 00:09:04,520
And also there are options for the C make users OK if you're a C make user.
109
00:09:04,790 --> 00:09:08,420
But that's definitely all right, not for this video.
110
00:09:09,350 --> 00:09:14,640
So that's just the first introduction to how we can see all of this solution.
111
00:09:14,660 --> 00:09:15,200
Don't worry.
112
00:09:15,200 --> 00:09:18,800
We will also talk about the source files right away.
113
00:09:19,190 --> 00:09:26,270
But just I want you to go with you guys through a couple of steps together.
114
00:09:26,430 --> 00:09:36,410
You have like these are another great thing about Visual Studio is that it simply is integrated with
115
00:09:36,410 --> 00:09:43,700
the visual C++ compiler and gives you a simple way to get started to build into debug your programs
116
00:09:43,700 --> 00:09:50,390
so you can see like build, you can build solution, you can rebuild solution, clean and so on very
117
00:09:50,390 --> 00:09:52,160
easily debug.
118
00:09:52,200 --> 00:09:56,000
OK, that's also another great tool that you can use.
119
00:09:56,630 --> 00:10:02,870
And what else, what else, what else do I want to tell you about it now for, for the beginning.
120
00:10:02,870 --> 00:10:04,640
I think this will be enough.
121
00:10:04,770 --> 00:10:13,620
OK, and last thing that we need to cover up is this file is this directorate called source files.
122
00:10:13,640 --> 00:10:23,060
OK, so you can see that it has created things through our project definitions that we said let's make
123
00:10:23,060 --> 00:10:27,530
this project to be is a console application project.
124
00:10:27,530 --> 00:10:35,510
So the default configuration there creates some default file regarding a Hello World Program.
125
00:10:35,550 --> 00:10:44,030
OK, and you can see that the default here is my first project, DOT CPB, which is a file written in
126
00:10:44,030 --> 00:10:48,890
C++ language, and it's the default and ready to be executed.
127
00:10:50,370 --> 00:10:58,710
But that's absolutely not the file that we need for our course since we talk about see, OK, we don't
128
00:10:58,710 --> 00:11:01,610
care here, at least not for now about CBB.
129
00:11:01,920 --> 00:11:06,430
So what I suggest to you is, first of all, right, click on it and press here.
130
00:11:06,480 --> 00:11:16,200
Remove OK, so remove these file basically to remove, to remove it from my first project or choose
131
00:11:16,200 --> 00:11:18,000
delete to permanently delete it.
132
00:11:18,330 --> 00:11:22,210
So I will just delete because I don't think we need these files anymore.
133
00:11:23,040 --> 00:11:27,540
So how to create a new file for our AC project.
134
00:11:28,020 --> 00:11:28,440
Right.
135
00:11:28,440 --> 00:11:30,560
Click on the Source Files Directory.
136
00:11:30,600 --> 00:11:34,770
And here you have like add and press add new item.
137
00:11:34,890 --> 00:11:36,630
OK, press add new item.
138
00:11:36,630 --> 00:11:42,510
We are going to create our first file in C, so add new item in here.
139
00:11:42,510 --> 00:11:48,680
You can see a lot of options, OK, CPB file header files, lip class and so on.
140
00:11:49,140 --> 00:11:49,500
So.
141
00:11:51,210 --> 00:11:53,010
Be very focused right now.
142
00:11:53,220 --> 00:11:59,340
It's very important what you have to choose here is very simple press on the CPB file.
143
00:11:59,730 --> 00:12:06,240
OK, and here in the in the section name where you have to specify the file.
144
00:12:06,240 --> 00:12:08,640
Name the file name itself.
145
00:12:10,160 --> 00:12:14,330
Simply say, like, let's say the fire will be Hello, world.
146
00:12:14,360 --> 00:12:18,220
OK, let's modify the source through Hello World.
147
00:12:18,620 --> 00:12:22,730
But instead of this extension of the CPB extension.
148
00:12:23,850 --> 00:12:30,770
What we are going to use is simply remove this cap and just be left with s..
149
00:12:30,780 --> 00:12:40,770
So hello, world dot C. And now press add and this will create a new file in our project and you see
150
00:12:40,770 --> 00:12:44,340
file ready to be worked by us.
151
00:12:45,230 --> 00:12:53,280
So if, for example, we want to make some simple programs, so let's make like include studio dot h,
152
00:12:53,660 --> 00:13:00,680
OK, standard input that age and I will show you exactly in a second what is the problem.
153
00:13:00,680 --> 00:13:07,070
Can't include a studio that age, standard input output and we will simply create, I don't know, some
154
00:13:07,070 --> 00:13:18,020
basic program so into me and we will use like print f hello beautiful beautiful world.
155
00:13:18,510 --> 00:13:22,000
OK, so that's the basic program we created.
156
00:13:22,040 --> 00:13:23,780
You see, it's very, very nice.
157
00:13:23,780 --> 00:13:25,190
Colors are beautiful.
158
00:13:25,760 --> 00:13:30,770
Maybe you have like the white preference as a white background.
159
00:13:30,770 --> 00:13:33,850
So it also may be changed easily right into preferences.
160
00:13:34,220 --> 00:13:38,810
So now that we've created a program, let's try to build and run it.
161
00:13:39,680 --> 00:13:42,910
And for that, simply go to the build section, OK?
162
00:13:43,730 --> 00:13:50,240
And you can see like you have like build solution, build my first project, let's build my first project
163
00:13:50,930 --> 00:13:54,500
and lalala build one succeeded.
164
00:13:54,500 --> 00:13:55,760
Everything is awesome.
165
00:13:56,030 --> 00:13:59,480
Debug start with our debugging if we want to run it.
166
00:13:59,900 --> 00:14:00,800
So let's see.
167
00:14:01,160 --> 00:14:02,420
There you go.
168
00:14:02,420 --> 00:14:03,980
That's our nice message.
169
00:14:03,980 --> 00:14:06,110
Let's just minimize it a little bit.
170
00:14:06,110 --> 00:14:07,190
I think it's too big.
171
00:14:07,520 --> 00:14:08,180
It's too big.
172
00:14:08,180 --> 00:14:09,110
So hello.
173
00:14:09,110 --> 00:14:15,170
Beautiful World is printed on our console application, which is freaking awesome guys.
174
00:14:15,170 --> 00:14:21,770
Oh, and another thing I wanted to show you is the fact that if you take a look also during the build
175
00:14:21,770 --> 00:14:25,370
process, the executable file has been also generated.
176
00:14:26,360 --> 00:14:32,780
So now, guys, I think you are ready to proceed with the course and I think you are ready to use visual
177
00:14:32,780 --> 00:14:35,900
studio for whatever needs you have.
178
00:14:36,590 --> 00:14:38,240
So good luck, guys.
179
00:14:38,240 --> 00:14:41,990
And until the next time, let me know what you think of this video.
180
00:14:41,990 --> 00:14:45,770
What do you think about a visual studio?
181
00:14:45,770 --> 00:14:49,100
And I will see you all the next videos.
182
00:14:49,100 --> 00:14:50,360
Good luck, guys.
17967
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.