为什么程序里有这段还报bgi error :use initgraph?
void InitMyGraph(MODE m){
int graphdriver, graphmode;
if(m==AUTO)
graphdriver=DETECT;
else if(m==HIGH)
{
graphdriver=VGA;
graphmode=VGAHI;
}
else
{
printf("Wrong prameter of \"init_mygraph();\"");
return ;
}
/*registerbgidriver(EGAVGA_driver);*/
initgraph(&graphdriver, &graphmode, "");
};
为什么程序里有这段还报bgi error :use initgraph?