sir,
In my turbo c++ program, I can't run any of the graphics program. When it compile, it shows the error's like:
undefined symbol _line, _closegraph,_ getmaxx etc...
Is it due to the settings of my c-program?
sir,
In my turbo c++ program, I can't run any of the graphics program. When it compile, it shows the error's like:
undefined symbol _line, _closegraph,_ getmaxx etc...
Is it due to the settings of my c-program?
Those errors are typical of a missing library in your build. Try linking the appropriate libraries and rebuild the solution (most likely graphics.lib).
-John
It's compile error and not link error. Looks like "graphics.h" is missing.
Do
#include "graphics.h"
Is this an old program that was written for Turbo C++, and that you're trying to compile with a modern compiler? If so, it might be the case that the program uses compiler-specific extensions and libraries, that are simply not available in the compiler you're using now.
If that is the case, you must either