delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/27/05:21:08

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trouble with bools
Date: Mon, 27 Oct 1997 09:01:07 +0100
Organization: University of Ghent, Belgium
Lines: 32
Message-ID: <34544A42.53BC@rug.ac.be>
References: <62irr4$chm$1 AT postern DOT mbnet DOT mb DOT ca> <345065BC DOT 13B5 AT rug DOT ac DOT be>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vik Heyndrickx wrote:
> 
> Mark Phillips 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?

Now I tested this program and:
It runs fine from the command line & from withing Rhide.
It debugs fine with F7 or F8.
The generated assembly source looks fine too.
So,

If I assume you are using Rhide:
- If your computer hangs and you press Ctrl-F2, what happens?

-- 
+----------------+
| Vik Heyndrickx |
+----------------+

- Raw text -


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