Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Bookmark
Share
Add to Playlist
Report
4. Setup Visual Studio
Technical Education
Follow
7/22/2024
4. Setup Visual Studio
Category
ЁЯУЪ
Learning
Transcript
Display full video transcript
00:00
In this video, we will see how to download and set up Visual Studio.
00:07
Open a browser and search for Download Visual Studio.
00:18
First link is from Microsoft, so click on it.
00:22
It will take you to the Microsoft website.
00:25
Here there are various versions of Visual Studio available.
00:29
So you can select the first one that is for community and it is a free version for students
00:36
and for researchers.
00:37
So select the first one, click on free download.
00:48
It will start downloading and it will pop up and ask you to select the type of applications
00:56
that you are going to develop.
00:59
While it is downloading, it will ask you to select the type of applications that you will
01:02
be developing.
01:03
So you can select desktop application and sign up by entering your email ID and selecting
01:08
your country.
01:09
Click on the file for installation.
01:12
After sign up, you can start installation.
01:16
Here the installation starts.
01:20
Yes, here it gives options for what purpose you want to download C++.
01:26
So you can select desktop development with C++.
01:31
So select this option and click on install.
01:43
Now it will install Visual Studio for C++.
01:59
Once the installation is over, you have to restart your computer.
02:01
So restart it.
02:05
So the installation of Visual Studio has finished.
02:08
Now let us start Visual Studio and develop one first project.
02:13
So go to start menu and here I will type Visual Studio.
02:18
So this is a Visual Studio 2019.
02:21
So click on this one, it has started.
02:26
Now here say create new project.
02:30
So select this one, right.
02:32
So for every program that you write, I suggest you create a new project that is better and
02:37
you can have all the projects in one folder.
02:40
Next here you have to select the type of the project.
02:43
So on the top left, you will find here the language.
02:47
So select it as C++, right.
02:50
And the platform is Windows, okay, you need not select that one, just you can leave it
02:55
as it is for all platform.
02:56
If you scroll down, you will find one option that is console app.
03:01
So you have to select console app, right.
03:04
So all the applications that we are going to develop are console application.
03:07
So you always have to select this one, say next.
03:13
Now here you have to mention the project name.
03:16
So I'll give the project name as my first and you have to select the path.
03:23
So you can select the path and then say create.
03:32
So project is created.
03:35
And here is the sample code, the code is ready.
03:38
So already main function is available.
03:40
So you can start typing your program here, right.
03:43
Already the basic header file or the standard header file is already included, that is iostream.
03:49
And hello world program is automatically generated.
03:53
Now here on the right hand side, in the solution explorer, or in this window, if you expand
03:58
the source file, you will find this my first CPP.
04:02
So this is what the file it is showing here, right.
04:08
Now if you want to write a program, let's simply I will write one program with the three
04:12
variables A, B, C, and then A assign some value and B assign that some value, then C
04:20
assign A plus B.
04:26
Now I will display this value also standard std cout C and also std endl.
04:41
This will add two numbers and display them.
04:43
Now here you can see that something is underlined here with red color.
04:47
So this shows it's an error.
04:50
So this ID will help you to find the errors wherever you are going wrong.
04:55
So it's very programmer friendly.
04:56
So here actually I have given single colon, so I should write scope resolution.
05:00
So double time I have to write colon.
05:03
So now this is perfect.
05:05
Now let us see how to run.
05:07
So here we can go to build menu option on the top and say build solution or build my
05:13
first.
05:14
So this my first will be built.
05:15
So it will be compiled and executable will be created.
05:20
Now for running go to debug option and start without debugging.
05:27
So debugger I will be showing you in the next video.
05:31
So without debugging just we want to run.
05:33
So you can also press control F5 for running the program.
05:36
So run this one.
05:37
Now here it displays the result that is 30, 10 plus 20 is 30 and also hello world.
05:48
So that's it.
05:49
You can complete the program and you can remove all these comments if you don't like them.
05:54
You can type all your programs.
05:55
So for every time for every program I suggest you to create a new project and do it and
06:00
let the project name be same as the program that you are doing.
06:03
That's all.
06:04
If you would like to use visual studio this is how you can set up and start using it.
Recommended
8:12
|
Up next
рдЙрд░рдг рдкреНрд░рдХрд░рдгрд╛рдд рд▓рд╡ рдЬрд┐рд╣рд╛рджрдЪрд╛ рдЖрд░реЛрдк рдХрд░рдгрд╛рд░рд╝реНрдпрд╛ рдиреЗрддреНрдпрд╛рдВрдирд╛ рд╢рд░реНрдорд┐рд▓рд╛ рд░рд╛рдЬ рдард╛рдХрд░реЗрдВрдиреА рд╕реБрдирд╛рд╡рд▓рдВ...
Technical Education
7/30/2024
4:01
CM Yogi on Love Jihad: рд▓рд╡ рдЬрд┐рд╣рд╛рдж рдкрд░ рдЙрдореНрд░рдХреИрдж | CM Yogi Big Decision | Religion change | рд╡рдирдЗрдВрдбрд┐рдпрд╛ рд╣рд┐рдВрджреА
Technical Education
7/30/2024
3:15
Bhopal News: рднреЛрдкрд╛рд▓ рдХреЗ рд▓рд┐рдП рдкрд╣рд▓реА рдЦреБрд╢рдЦрдмрд░реА, рдХреЛрд▓рд╛рд░ рдбреИрдо рдХреЗ рджреЛ рдЧреЗрдЯ рдЦреБрд▓реЗ, рд▓рдЧрд╛рддрд╛рд░ рдЬрд╛рд░реА рд╣реИ рдЭрдорд╛рдЭрдо рдмрд╛рд░рд┐рд╢
Technical Education
7/30/2024
4:18
#usa #america #canada #uk #love #newyork #instagram #california #travel #instagood #fashion #photography #australia #india #germany #trump #london #follow #dubai #france #europe #like #art #miami #florida #a #italy #unitedstates #nyc #music
Technical Education
7/30/2024
1:48
1. Install Compiler
Technical Education
7/22/2024
16:34
2. How Computers Works
Technical Education
7/22/2024
1:08
1. Fundamentals
Technical Education
7/22/2024
3:03
1. Instructors Note
Technical Education
7/22/2024
5:47
3. Demo - First Program
Technical Education
7/22/2024
5:22
3. Setup Dev-C++ and Settings
Technical Education
7/22/2024
6:42
3. Introduction to Number Systems
Technical Education
7/22/2024
6:16
2. Setup CodeBlocks and Settings
Technical Education
7/22/2024
8:34
1. Skeleton of C++ Program
Technical Education
7/22/2024
5:00
How_Can_ISO9001_Help_Your_Business_Succeed
Technical Education
7/18/2024
1:00
Section_4_Introduction
Technical Education
7/18/2024
3:30
What_Is_A_QMS
Technical Education
7/18/2024
5:40
Clause_4
Technical Education
7/18/2024
5:12
Management_Responsibility
Technical Education
7/18/2024
8:55
Continual_Improvement
Technical Education
7/18/2024
7:10
The_PDCA_Cycle
Technical Education
7/18/2024
2:45
Quality_Manuel_Template
Technical Education
7/18/2024
9:29
Tips_and_Tricks
Technical Education
7/18/2024
2:37
Roll_Out
Technical Education
7/18/2024
5:45
Kaizen
Technical Education
7/18/2024
3:06
Learning_Outcomes
Technical Education
7/18/2024