Computer Graphics Final Microproject
Computer Graphics Final Microproject
Micro project
On
Submitted By
Guided By
Mrs. V.M.Bodhankar
Sinhgad Institutes
Certificate
This is to certify that Mr. Ritesh Patil with Roll No. 54 of Semester III of
Diploma in Computer Technology of Institute Sou. Venutai Chavan Polytechnic
(Code: 0040) has successfully completed the Micro-Project in Computer
Graphics Using C (22318) for the academic year 2022-2023 as prescribed in the
curriculum.
Certificate
This is to certify that Mr.Tanmay Chandane with Roll No. 46 of Semester III
of Diploma in Computer Technology of Institute Sou. Venutai Chavan
Polytechnic (Code: 0040) has successfully completed the Micro-Project in
Computer Graphics Using C (22318) for the academic year 2020-2021 as
prescribed in the curriculum.
Certificate
This is to certify that Mr. Shubham Balte with Roll No. 02 of Semester III of
Diploma in Computer Technology of Institute Sou. Venutai Chavan Polytechnic
(Code: 0040) has successfully completed the Micro-Project in Computer
Graphics Using C (22318) for the academic year 2020-2021 as prescribed in the
curriculum.
Certificate
This is to certify that Mr. Sumeet More with Roll No. 72 of Semester III of
Diploma in Computer Technology of Institute Sou. Venutai Chavan Polytechnic
(Code: 0040) has successfully completed the Micro-Project in Computer
Graphics Using C (22318) for the academic year 2020-2021 as prescribed in the
curriculum.
SR NO CONTENTS PAGE NO
2 Rationale 5
4 Literature Review 6
7 Skills Developed 16
8 Conclusion 16
Object Oriented Programming Using C++ - 22316 Supermarket Management System
Annexure - I
Micro-Project Proposal
2 46 Tanmay Chandane
3 02 Shubham Balte
4 72 Sumeet More
Annexure - II
Micro-Project Report
1.0 Rationale:
delay(n): This function is used for holding the program output for a small period of
time since processing is very fast so use it to see the result.
setcolor(n): A function from graphics.h header file which set the color of the
pointer (cursor). There are some predefined colors in computer graphics. Here n is
color number.
line(x1, y1, x2, y2): A function from graphics.h header file which draw a line with
(x1, y1) as first coordinate of line and (x2, y2) as second coordinate of the line.
circle(x, y, r): A function from graphics.h header file which draw a circle with
center (x, y) and radius r.
The programs demonstrate the use of the following functions, which are widely used
in C:
A]. Inheritance :
The aim of this article is to demonstrate a simple and easy technique of applying inheritance and
polymorphism in C. By creating a VTable (virtual Table) and providing proper access between
base and derived objects, we can achieve inheritance and polymorphism in C. The concept of
VTable can be implemented by maintaining a table of pointers to functions. For providing access
between base and derived objects, we have to maintain the references of derived object in the
base class and the reference of the base object in the derived class.
break; default:
// Block of code to be executed if expression does not match any cases
Syntax:
if (condition)
} else {
7.0 Inheritance
User Class
USER_ID
USER_NAME
CUSTOMER CLASS
CUSTOMER_ID
CUSTOMER_NAME
void draw_moving_car(void) {
setcolor(RED);
// body of car
delay(100);
cleardevice();
getch();
closegraph();
}
// Driver code
int main()
{
draw_moving_car();
return 0;
}
8.0 Output:
12.0 Conclusion:
We learn to design Car Moving using C, also we understood basic fundamentals of
systems in of Car Moving as well as managing
it.