Friday, 29 August 2014

C program for getdrivername



C program for getdrivername

#include<graphics.h>
#include<conio.h>
 
main()
{
   int gd = DETECT, gm;
 
   char *drivername;
 
   initgraph(&gd, &gm, "C:\\TC\\BGI");
 
   drivername = getdrivername();
   outtextxy(200, 200, drivername);
 
   getch();
   closegraph();
   return 0;
}

No comments: