delorie.com/archives/browse.cgi | search |
From: | "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: graphics |
Date: | Mon, 4 Oct 1999 22:35:55 -0500 |
Organization: | Rose-Hulman Institute of Technology |
Lines: | 28 |
Message-ID: | <7tbrqv$nio$1@solomon.cs.rose-hulman.edu> |
References: | <7tbeuk$qvd$1 AT nntp9 DOT atl DOT mindspring DOT net> |
NNTP-Posting-Host: | yerricde.laptop.rose-hulman.edu |
X-Trace: | solomon.cs.rose-hulman.edu 939094687 24152 137.112.205.146 (5 Oct 1999 03:38:07 GMT) |
X-Complaints-To: | news AT cs DOT rose-hulman DOT edu |
NNTP-Posting-Date: | 5 Oct 1999 03:38:07 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Bob <tinkerkq56 AT mindspring DOT com> wrote in message news:7tbeuk$qvd$1 AT nntp9 DOT atl DOT mindspring DOT net... > i have source code that requires graphics.h and in djgpp > there is no graphics.h file what do i do ? First of all, don't post both to djgpp AT delorie DOT com and to comp.os.msdos.djgpp. It shows up as two articles. Second, you have two options: 1. graphics.h seems to be from Borland's tools. Use BCC2GRX to port your graphics code to the GRX graphics library. 2. The recommended option is to port your graphics code to a more portable library, namely Allegro. http://www.talula.demon.co.uk/allegro/ allegro.h replaces graphics.h; it's really easy to port code from graphics.h to Allegro. And Allegro programs will easily recompile to Win32 or Linux. To see an example of what can be done with Allegro, download DOSArena at the link below. Damian Yerrick http://come.to/yerrick
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |