Status
Not open for further replies.

fasihxkhatib

Distinguished
Aug 25, 2011
74
0
18,580
Hello,
I wanted a compiler for C/C++ that will allow me to include graphics.h. The older versions like Borland and Turbo dont run in full screen mode.
I have a newer version of Borland but it doesnt support graphics.h .
Plz help.
 
Solution
I think you miss-understood what I meant. After a little digging it looks like graphics.h and initgraph are from a strictly dos/turbo c library.

Your problem is very much linked to the fact that dos has changed. You can either program in a dos emulator, or find a new graphics library to use when you are programming.

You might take a look at SDL to see if it does what you need it to.

http://www.libsdl.org/

Then you will be able to use any compiler, any OS, and quite a few languages.

totalknowledge

Distinguished
Jul 8, 2011
56
0
18,590
I think you miss-understood what I meant. After a little digging it looks like graphics.h and initgraph are from a strictly dos/turbo c library.

Your problem is very much linked to the fact that dos has changed. You can either program in a dos emulator, or find a new graphics library to use when you are programming.

You might take a look at SDL to see if it does what you need it to.

http://www.libsdl.org/

Then you will be able to use any compiler, any OS, and quite a few languages.
 
Solution
Status
Not open for further replies.