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