Mail Archives: djgpp/1997/10/21/21:52:56
At 06:36 10/21/1997 GMT, 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?
>
>also, is this kind of question meant for a c++ group or is it ok to
>post here?
No, you should post it to comp.lang.c++. I think your problem is something
related to declaring loop variables in the `for' statement, though.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -