Message-Id: <199903150121.UAA24902@delorie.com> Comments: Authenticated sender is From: "George Foot" To: "Lark" Date: Mon, 15 Mar 1999 01:19:31 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Loading a bitmap from a file w/ allegro CC: djgpp AT delorie DOT com X-mailer: Pegasus Mail for Win32 (v2.42a) Reply-To: djgpp AT delorie DOT com [Bcc:ed to Shawn, to point out the error in ex15] On 14 Mar 99 at 18:08, Lark wrote: > Can someone post just a short snippet of code that will load a bmp or pcx > file and display it on the screen? I am having a lot of trouble getting > this to work. Thanks. Look at example program number 15, in the `examples' directory of Allegro. It does have one mistake though -- you should set the video mode before loading any graphics. If you still don't understand after this, please explain what it is that you do not understand about the program. -- George