Graphics In C

[Solved] Graphics In C | C - Code Explorer | yomemimo.com
Question : Graphics in C

Answered by : baqir-ali

#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();
}

Source : https://www.codemodes.com/graphic-function-in-c/ | Last Update : Wed, 01 Dec 21

Answers related to graphics in c

Code Explorer Popular Question For C