Use of a graphics.h library in C++ builder 6


If this topic was discussed somewhere else please re-direct me there.

I have been coding in C ( Turbo C , Dev C++) . Have been using <graphics.h> lib for some simple graphics. Now I started with Borland C++ Builder 6 , and I see this library is obsolete , and forces me to use object programing to do simple drawing.

What I am asking is there some way to draw a line(for example) in C++ builder , like I was used to in the old Turbo C or Dev C++ with <graphics.h> library???

An code example would be great!
Many thanks in advance for your support!
Last edited on
Topic archived. No new replies allowed.