delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/10/11:32:20

Date: Sat, 10 Oct 1998 16:30:23 +0100 (BST)
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Borland C++ to DJGPP
In-Reply-To: <6vnkhq$uq3$1@minus.oleane.net>
Message-ID: <Pine.OSF.4.05.9810101625580.20988-100000@sable.ox.ac.uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sat, 10 Oct 1998, Edouard Laroche-Joubert wrote:

> I've made a program in C++ under Borland C++ v1.00 and I would like to use
> DJGPP instead,
> the problem is that DJGPP doesn't know the lib <graphics.h>,
>         is their a way to convert my program ? or is their a lib in DJGPP
> that has the same functions than in Borland C++ ?

You'll need to download a graphics library for djgpp.  You have
two options though.  You could download the GRX library along
with the BGI (Borland Graphics Interface) compatibility library
(bcc2grx), so that you can continue to use BGI-like functions.  
Or you could take the plunge and learn one of djgpp's graphics
libraries.

There are quite a few.  GRX is the only one with the BGI
compatibility library.  Allegro is a very popular library that
handles all sorts of game-related things, such as graphics,
sound, music, timing and input handling.  SVGAlib is a port of
the library used in other systems, for example Linux.  Another
library is called JLib, which is apparently also portable to
Linux.

I suggest you go here:

    http://brennan.home.ml.org/djgpp/

and have a look at the various libraries he links to in the
`Graphics' section.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019