Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Graphics in C Language

Share this post!
 Vote this!

We will restrict our discussion on Graphics in C Language to 16 bit C programming and MS DOS environment. In a C Program first of all you need to initialize the graphics drivers on the computer. This is done using the initgraph method provided in graphics.h library. In the next few pages we will discuss graphics.h library in details. Important functions in graphic.h library will be discuees in details and samples programmes will be provided to show the power of C programming language.

Graphics mode Initialization

First of all we have to call the initgraph function that will intialize the graphics mode on the computer. initigraph have the following prototype.
 void initgraph(int far *graphdriver, int far *graphmode, char far *pathtodriver);  more...

0 comments:

Post a Comment