When i putERRORCode:#include <graphics.h>
BGI graphics are not supported under windows. How can I repair this problem. note: I have borland c++ 5.02
bye
Printable View
When i putERRORCode:#include <graphics.h>
BGI graphics are not supported under windows. How can I repair this problem. note: I have borland c++ 5.02
bye
Switch back to DOS? Upgrade your graphics toolkit?
The program you are trying to compile was written for a specific compiler, and a specific operating system / platform.
If you want to use a different compiler, and run it on a different operating system, you will need to re-write the non-standard parts of the code. This is called porting the program, and it is uaually rather difficult. Sometimes it's easier to start-over and simply re-write the program.
There are no graphics in standard-portable C++. (There is a Windows 32-bit API standard which is portable between Windows compilers.)