You are on page 1of 9

UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

Lab Manual # 01

Task # 01: How to install code blocks?

Code: MTE-101
1. Run the setup as administrator and click on next

Screen shot:

2. Click on I agree button


Screen shot:

1
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

3. Don’t change any setting and click on next

Screen shot:
4. Select the location in which you want to install codeblocks
Screen shot:

5. Its start installing


Screen Shot:

6. Click on yes

2
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

Screen shot:

7. Click on the GNU GCC Compiler and press ok button


Screen shot:

3
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

8. When the software start this message will come on your screen. Select the one given
below
Screen shot:

9. That’s how you will start to make your first project


Screen shot:

4
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

10. Select Console Application and click on Go


Screen shot:

11. Click on next button


Screen shot:

12. Select the C++ and click on next


Screen shot:

5
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

13. Enter the project title and browse the floder to select where you want to store your
projects.
Screen shot:

14. All has been set.


Screen shot:

6
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

15. Leave it as it is and click on Finish


Sccreen shot:

16. Click on the sources and then click on main.cpp


Screen shot:

7
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

17. Your First Program is ready to run.


Screen shot:

8
UW-18-MTS-BSC COMPUTER PROGRAMMING ZAR KHAN

Task # 02: Write a program that will display “I am Zar Khan.” on the
output Screen.

 To display I am Zar Khan on the output screen these codes are used.
Screenshot:

 Build and run the program then your output will be shown on the screen as .
Screenshot:

You might also like