📜  图形在 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:40.678000             🧑  作者: Mango

代码示例1
#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();
}