📅  最后修改于: 2022-03-11 15:04:40.678000             🧑  作者: Mango
#include
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();
}