C programme to draw a Rainbow

In C Graphics we use graphics.h functions. This is used to draw different shapes(like circle,rectangle etc),display text(any message)in different format(different fonts and colors).By using graphics.h we can make programs, animations and also games. We have to call initgraph function which will initialize the graphics mode.

Draw Shapes using C Graphics

By using Graphics we can draw the geometric figures like circle, line, ellipse, bar etc.

In this we set the coordinates like leftt,top,right,bottomm.Graphics.h library is used for graphics (initgraph method).


Rotating Fan animation in Computer Graphics using C Language

We use graphics.h header file for graphics in C language. By using graphics we can draw Lines, Circles,Rectangles(Geometrical figures) in the program.