cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/22/04:18:03

From: eyal DOT ben-david AT aks DOT com
To: bigphil AT merlin DOT magic DOT mb DOT ca
cc: djgpp AT delorie DOT com
Message-ID: <42256538.002CC25A.00@aks.com>
Date: Wed, 22 Oct 1997 10:11:34 +0200
Subject: Re: Trouble with bools
Mime-Version: 1.0



On 10/21/97 9:36:15 PM bigphil wrote:

>why won't this work?
>
>[code snipped]
>
>bool scrn[640][480];
>
>[more code snipped]
>
>  // initialize scrn:
>  for (int i=0; i<640; i++)
>    for (int j=0; j<480; j++)
>      scrn[i][j]=0;
>
>it never seems to leave the loop, what did i do wrong?
>

It works fine.  Maybe the problem is with the "[code snipped]" section ?



- Raw text -


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