Why would it be less again? Values of variables do not magically change. Run this code and see if you can understand the problem.
int max = 5;
int row = 0;
int col = 0;
while(row < max) {
...
Type: Posts; User: Junky
Why would it be less again? Values of variables do not magically change. Run this code and see if you can understand the problem.
int max = 5;
int row = 0;
int col = 0;
while(row < max) {
...
Did you read my post?
Did you answer my questions?
After the inner (col) loop finishes what value will col have? Will it ever be less than DISPLAY_HEIGHT again?