When initializing graphics in c using initgraph,I get an error message using errorcode as "Not enough memory to load drivers". Pls HELP!!!
initgraph error
Collapse
X
-
What is initgraph? What is your graphics library? What is your code snippit that is causing the problem? What is your operating system? What is your shell environment? In the future please provide all the necessary information, don't make me ask a hundred questions to try to find out what you are talking about. -
Originally posted by abc85When initializing graphics in c using initgraph,I get an error message using errorcode as "Not enough memory to load drivers". Pls HELP!!!
Code:int main(void) { int graphdriver = DETECT, graphmode; /* for initgraph */ /* Initialise graphics system */ initgraph(&graphdriver, &graphmode, "c:\\tc\\bgi"); if (graphresult() != grOk) { printf("initgraph failed: %s\n", grapherrormsg(graphdriver)); return 1; /* failed, return */ }
Comment
Comment