You are on page 1of 12

Computer Programming

LAB: 0

LAB : 0
INSTALLATION OF VISUAL STUDIO
HOW TO USE VISUAL STUDIO FOR MAKING
C++ PROGAMS

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

We selected “VISUAL STUDIO ULTIMATE 2012 BLEND” version of


visual studio.

o We open the drive, where the setup of Visual Studio is


present.

o Then we mount the setup of the Visual Studio to Drive [G:] which is
made after the installation of Power ISO ( also used to extract the
files ) .

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

o Then we mount the setup of the Visual Studio to Drive [G:] which is
made after the installation of Power ISO ( also used to extract the files ) .

o After double click on folder named CD Drive [G:] which is made after the
installation of Power ISO ( also used to extract the files ).
o After open the Mount Drive , Following Window opened :
The setup will now start :

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

1) Now click on I agree to the License terms and conditions:

2) Now click on Next:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

3) Now click on select all and then Install:

4) Installation will now start:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

5) After completion of installation click on LAUNCH:

6) Click on Visual C++ Development Settings:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

7) Click on Start Visual Studio:

8) Visual Studio Will Now Start:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

Making Of First Program On Visual Studio

1) After opening Visual Studio Click on FILE:

2) Click on New and then on Project:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

3) Click on Win32 Console Application:


4)

5) Give Name to your program Name should be self-explanatory:


and then click OK.

6) Click on Next:
7) Then click on Empty Project:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

8) Click on Finish:
9) Now click on Source Files:

10) Click on Add:


11) Then click on New Item:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

12) Now click on C++ File(.cpp) and then click Add:


13) Editor is now ready:

14) Enter Text of your Program:


15) Now go to Build and then click on Compile:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15
Computer Programming
LAB: 0

16) If there is any Error then it will be shown at the bottom:


17) Now go to Debug and click on Start Without Debugging:

18) The output of the program will be executed on the screen:

UET Taxila Sub Campus Chakwal Electronics


Department 2K15

You might also like