Mail Archives: djgpp/1998/05/24/23:00:46
>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 -