From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Graphics with RHIDE and DJGPP Date: Mon, 20 Oct 1997 18:42:55 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 30 Message-ID: <344BA62F.595E@cs.com> References: <01bcdcd6$4ef62ec0$268224c3 AT club-internet DOT club-internet DOT fr> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp226.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk BORET S. wrote: > > 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 ...) All the world is not Borland, nor should you assume so. DJGPP has several graphics libraries which offer equivalent or better graphics performance than the outdated Borland Graphics Interface. You can try GRX, which is fairly similar to BGI, or you can go all out and get Allegro, a complete graphics/sound/game programming library. Both are available from the same place you got DJGPP. Code written for Borland can be ported to DJGPP using the bccgrx20.zip package; this allows most BGI code to work with GRX. It resides in the same place as GRX. hth -- --------------------------------------------------------------------- | John M. Aldrich | "Sin lies only in hurting other | | aka Fighteer I | people unnecessarily. All other | | mailto:fighteer AT cs DOT com | 'sins' are invented nonsense." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------