标签: c++ graphics
int driver=DETECT,mode; initgraph(&driver,&mode,""); void far *img; getimage(200,200,500,400,img); putimage(200,200,img,COPY_PUT); getch(); closegraph();
我有问题。当我运行上面的代码时,它显示了BGI Windows,然后立即消失了,为什么?