cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/15/08:10:40

From: DavMac AT iname DOT com (Davin McCall)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: something went wrong
Date: Sun, 15 Aug 1999 07:18:01 GMT
Organization: Monash Uni
Lines: 32
Distribution: world
Message-ID: <37b66934.8789241@newsserver.cc.monash.edu.au>
References: <QBpt3.73$%J4 DOT 17627 AT harpo DOT ctel DOT net>
NNTP-Posting-Host: damcc5.halls.monash.edu.au
X-Trace: towncrier.cc.monash.edu.au 934701423 18869 130.194.198.138 (15 Aug 1999 07:17:03 GMT)
X-Complaints-To: abuse AT monash DOT edu DOT au
NNTP-Posting-Date: 15 Aug 1999 07:17:03 GMT
X-Newsreader: Forte Free Agent 1.1/32.230
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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/

- Raw text -


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