From: "Chewbaklava" Newsgroups: comp.os.msdos.djgpp References: <37b66934 DOT 8789241 AT newsserver DOT cc DOT monash DOT edu DOT au> Subject: Re: something went wrong Lines: 43 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Sun, 15 Aug 1999 10:15:05 -0400 NNTP-Posting-Host: 209.222.102.115 X-Trace: harpo.ctel.net 934725908 209.222.102.115 (Sun, 15 Aug 1999 10:05:08 EDT) NNTP-Posting-Date: Sun, 15 Aug 1999 10:05:08 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com thanks, that probably it. i'm really an idiot when it come to looking for little mistakes like that. god, one little typo and you're all screwed up and can't do ANYTHING. - Chewbaklava wookies are rich in vitamin g. Davin McCall wrote in message <37b66934 DOT 8789241 AT newsserver DOT cc DOT monash DOT edu DOT au>... >Read on... -> > >>void drawscreen() >>{ >>int i, a; >>clear(bmp); >>show_mouse(screen); >> >>for (a = 0; a < 10; a++) >>{ >>for (i = 0; i < 256; i++) >>} > >Shouldn't that be another "{" ??? > >>putpixel(bmp, i, a, i); >>} > >[etc, then:] > >>while (!key[KEY_ESC]) >>{ >>drawscreen(); >>file://k = readkey(); >>file://k = k >> 8; > >What is happening here? This is similar to later parts of the program. > >Davin. >__________________________________________________________ > *** davmac - sharkin'!! davmac AT iname DOT com *** >my programming page: http://yoyo.cc.monash.edu.au/~davmac/