标签: c++ c graphics turbo-c++ bgi
int gDriver = DETECT, gMode; initgraph(&gDriver, &gMode, "c:\\turboc3\\BGI"); int errorcode = graphresult(); // It is returning 5
错误代码的值为5,这意味着"没有足够的内存来加载驱动程序"
如何解决此错误?