Date: Sun, 19 Oct 1997 20:25:18 -0700 (PDT) Message-Id: <199710200325.UAA20887@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "BORET S." , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Graphics with RHIDE and DJGPP Precedence: bulk At 09:30 10/19/1997 GMT, BORET S. wrote: > > Hello ! > >I have to write a C program for my studie. Then I must write it with >Borland C and with DJGPP too (at home) but how can I do to use graphics >just as if I was using Borland environnement ??? >For instance, with Borland C, I think it is possible to write #include > in order to draw a pixel with the "putpixel()" function. But >RHIDE explains to me that graphics.h doesn't exists and it produces an >error. (that is the same thing with putpixel ...) There is a library called BCC2GRX which acts as a shim between Borland's BGI graphics and the LIBGRX graphics package for DJGPP. (both in v2tk) With that, and a few #ifdef's, you can program all your graphics like BGI. Also, I think you can use LIBGRX from Borland C also, but its API is IMHO extremely complicated. Nate Eldredge eldredge AT ap DOT net