Mail Archives: djgpp/2001/06/09/16:30:05
From: | "Brent Ritchie" <azreal AT cyberbeach DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | [Allegro] Small Question
|
Lines: | 23
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200
|
Message-ID: | <ssvU6.978$ac3.3341@newsfeed.slurp.net>
|
Date: | Sat, 9 Jun 2001 16:22:31 -0700
|
NNTP-Posting-Host: | 216.104.103.77
|
X-Trace: | newsfeed.slurp.net 992117656 216.104.103.77 (Sat, 09 Jun 2001 15:14:16 CDT)
|
NNTP-Posting-Date: | Sat, 09 Jun 2001 15:14:16 CDT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hello,
I Was just wondering I want to make a dot on the screen but it dosent
want to show up here is my code:
#include "allegro.h"
using namespace std;
int main()
{
allegro_init();
set_gfx_mode(GFX_AUTODETECT, 1024, 768, 0, 0);
install_keyboard();
BITMAP *b=create_bitmap(640,480);
putpixel(b,240,445,1);
return 0;
}
Any suggestions?
Thanks
- Raw text -