Introduction to Turboc2 Graphics:
Syntax: initgraph(int *graphicdriver,int *graphicmode,char *pathtodriver);
Here *graphicdriver, specifies Graphic Driver to be used. *graphicmode, specifies the initial Graphics Mode. *pathtodriver, specifies the directory path where initgraph() looks for graphics drivers.Once the driver has been loaded, initgraph() sets up the numeric values to the graphics mode.
08:16
Share:
0 comments: