图形函数一闪而过求解
#include<graphics.h>#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void main()
{
int driver,mode;
detectgraph(&driver,&mode);
printf("the graphics driver is %d,mode is %d\n",driver,mode);
initgraph(&driver,&mode,"d:\\tcpp30e\\bgi");
clrscr();
setbkcolor(1);
circle(100,100,50);
getch();
closegraph();
}
编译连接通过,加了getch();但为什么还是一闪而过,并关闭编译软件,我的图形驱动有问题吗?路径绝对是对的,麻烦各位看看,搞了几天了