C语言图形设计问题
#include "Conio.h"#include "graphics.h"
#define closegr closegraph
void initgr(void)
{
int gd = DETECT, gm = 0;
registerbgidriver(EGAVGA_driver);
initgraph(&gd, &gm, "C:\Win-TC\projects\BorlandBGI示例\bgi");
}
int main(void)
{
initgr();
bar(100,80,200,180);
getch();
closegr();
return 0;
} 图形设计的时候 怎么我路劲设对了 还会出现 Graphics not initialized (use 'initgraph')?? 谁能教教我??