Professional Documents
Culture Documents
Comp Lab Ex2
Comp Lab Ex2
College of Engineering
Computer Engineering Department
Experiment No.2
2D Graphics
Score
Submitted by
Matias,Andrei, B.
10:30 / Tues / CL5
Submitted to
Engr. Kaerius S. Mendoza
Professor
Date Performed
March 19, 2019
Date Submitted
March 19, 2019
Experiment No. 2
2D Graphics
I. OBJECTIVES
The objectives of this experiment, using the C++ software, are for the students:
1. To demonstrate how to display 2D graphics.
2. To demonstrate the use of the functions cprintf, gotoxy, delay, textcolor, and
textbackground.
3. To understand and apply the purposes of stdio.h and dos.h in a program.
II. PROCEDURES:
Direction: Paste the output screenshot for each program in the table below. Give
your analysis/discussion for each output.
1.
3.
V. OBSERVATION
I observe that we can create any outputs we want as long as we know the right codes
that we can program like in 2D graphics.
VI. CONCLUSION
I therefore conclude that by using the functions cprintf, gotoxy, delay, textcolor, and
textbackground. We can create a 2d graphic we want by manipulating it accordingly on
what we want