Saturday, May 22, 2010

Brief explain the main important graphics functions of ‘C’ language with examples.?

In Turbo C





initgraph() - Initialize graphics system, loads graphics module to use.


closegraph() - Shutdown graphics system, release memory.


outtextxy() - Output text to point x,y


putpixel() - Draw a dot


getpixel() - Get colour of dot


rectangle() - Draw a frame


bar() - Draw a filled region





But 'C' does not normally come with 'graphics' function as they are system dependent.

tropical flowers

No comments:

Post a Comment