www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/24/23:00:46

From: tackmast AT aol DOT com (TackMast)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help, Please!
Lines: 14
Message-ID: <1998052502545200.WAA27845@ladder03.news.aol.com>
NNTP-Posting-Host: ladder03.news.aol.com
Date: 25 May 1998 02:54:52 GMT
Organization: AOL http://www.aol.com
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980524115033 DOT 00799580 AT wcnet DOT org>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>I'm doing a project for my geography class, and I was going to start it
>with another C++ compiler.  But, I heard that DJGPP with RHIDE and ALLEGRO
>is alot easier.  I found one problem with it.. I cannot find how to simply
>display a BMP or PCX!  Im just a starter with C/C++.. and If you could give
>me the minimum code to place a bitmap or pcx to the screen, it would be
>apreciated.
>
>Thanks, 
>   Jeremy Schroeder

There are some good examples in the Allegro examples directory. Try the program
ex15 for how to load and display PCX and BMP files. If you're going to put the
PCX and BMP files in a datafile you might want to look at ex12, which shows you
how to do things with datafiles. I hope this helps. Good luck with the project!

- Raw text -


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