c语言独立图形运行程序的建立
#include<stdio.h>#include<graphics.h>
int main()
{
int gdriver=DETECT,gmode;
registerbgidriver(EGAVGA_driver);
initgraph(&gdriver,&gmode,"D:\\tc");
bar3d(50,50,250,150,20,1);
getch();
closegraph();
return 0;
}谁能帮我看一下我这个程序,显示registerbgidriver(EGAVGA_driver)这个出错,我的显示gdriver:VGA gmode: VGAHI