delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/28/01:46:28

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trouble with bools
Date: Fri, 24 Oct 1997 10:42:58 +0200
Organization: University of Ghent, Belgium
Lines: 35
Message-ID: <34505F92.703B@rug.ac.be>
References: <62irr4$chm$1 AT postern DOT mbnet DOT mb DOT ca> <344D168D DOT 4B11 AT cs DOT com>
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

John M. Aldrich wrote:
> 
> Mark Phillips wrote:
> >
> > 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?
> 
> This exact code, cut and pasted and compiled as C++ code, works
> perfectly on my computer.  Have you tried running your program under a
> debugger?  In any case, this most likely isn't your problem.
> 
> > also, is this kind of question meant for a c++ group or is it ok to
> > post here?
 
> If the problem has something to do with DJGPP, then it's fine to post
> here.  This, however, looks like a generic language question, so
> comp.lang.c++ would be a much better place.  Of course, I, like many of
> us, am glad to help you out any time.  :)
 
Since your own understanding tells you it may or even might have
something to do with DJGPP, it is fine to post here. If you direct this
to comp.lang.c++ they will probably redirect you to this group.

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

- Raw text -


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