graphics.h with Borland C++ compiler

hi I have a Borland C++ 5.5 command compiler. I needed to plot a graph using a C++ program. However, I discovered that there were'nt any graphics library (pls correct me if I'am wrong). So I copied graphics.h and BGI files from a Turbo C++ compiler.
But I can't still run any graphics based functions. There are errors of a 'far' variable like:
Size of 'far' is unknown,
Time is running out as my assignment date is due. If the Turbo C++ graphics.h is incompatible then how can I plot a graph in BCC32. Please help!

hi!
The point is, it will involve a huge overhead to switch to TC (as I have'nt installed it on my notebook). I just needed to plot a histogram on a graph in bcc. will WinGDI help. If so, kindly send me a rough code.

hi!
The point is, it will involve a huge overhead to switch to TC (as I have'nt installed it on my notebook). I just needed to plot a histogram on a graph in bcc. will WinGDI help. If so, kindly send me a rough code.

I imagine the overhead would not be great (unless your program is written in C++); TC fits on four floppy disks and it runs on an XT computer. But switching to an old compiler just so you can use its outdated graphics library doesn't seem like a good idea.

hi I have a Borland C++ 5.5 command compiler. I needed to plot a graph using a C++ program. However, I discovered that there were'nt any graphics library (pls correct me if I'am wrong). So I copied graphics.h and BGI files from a Turbo C++ compiler.
But I can't still run any graphics based functions. There are errors of a 'far' variable like:
Size of 'far' is unknown,
Time is running out as my assignment date is due. If the Turbo C++ graphics.h is incompatible then how can I plot a graph in BCC32. Please help!

The main problem is that turbo c++ is for using ms-dos or win3.1.
So that library programs graphics only for dos or win3.1 depending on your version.

So you have to use a library in order to use graphics in win32, this is a total new topic on how to do that, but i can recommend you Allegro, because it can use simplified functions.

a url of this library is www.allegro.cc and good luck in your proyect.