PDA

View Full Version : graphic.h



silentkillers25
May 4th, 2011, 07:38 PM
hi,
i want to use graphics.h library to compile and run graphics program written in borlanc.
i am new to ubantu.
plz help.

simeon87
May 4th, 2011, 08:49 PM
You need to tell us what your problem is. What isn't working? What's the error message?

Tony Flury
May 5th, 2011, 07:20 AM
I think graphic.h is Windows specific - therefore you will need to run borland C either in a Virtualbox - or maybe under Wine. It wont compile if you try to use gcc.

Zugzwang
May 5th, 2011, 11:29 AM
I think graphic.h is Windows specific - therefore you will need to run borland C either in a Virtualbox.

As far as I know, "graphic.h" (wasn't it "graphics.h" anyway?) is not even Windows specific, but rather DOS specific, and limited to Borland C. So the program is very old.

@OP: So you will definitely need Borland C for this one. However, I think that they were giving away free copies of their very old compilers for free. Maybe Google finds them. You can then run and the generated executables in dosbox.