Answers for "Graphics in C"

C
0

Graphics in C

#include<graphics.h>
main()
{
  int driver, mod;
  driver = VGA/DETECT;
  mod    = VGAHI/Optional if DETECT is used;
  initgraph(&driver, &mod,"C:/tc/bgi");
  putpixel(320,240,RED);
  getch();
  closegraph();
}
Posted by: Guest on November-24-2021

Code answers related to "C"

Browse Popular Code Answers by Language