Reputation: 1577
int gDriver = DETECT, gMode;
initgraph(&gDriver, &gMode, "c:\\turboc3\\BGI");
int errorcode = graphresult(); // It is returning 5
The errorcode has value 5 which means "Not enough memory to load the driver"
How do I fix this error?
Upvotes: 0
Views: 194