I have developed a graphic program on a desktop system. But when I tried to run it on the hp compaq laptop it\'s not getting executed. I developed it using Turbo C. Then i t
you need to initialize the graphics function first. below is the code to initialize.
int gd=DETECT,gm; initgraph(&gd,&gm,"c:\\tc\\bgi");
this will initialize the graphics.