/* WIN-TC BGI 图形编程模板 */ #include "Conio.h" #include "graphics.h" #define closegr closegraph void initgr(void) /* BGI初始化 */ { int gdriver=DETECT, gmode; initgraph( &gdriver, &gmode, "d:\\TC201E\\bgi" ); }