Re: Variable Stack Error
- Posted by petelomax 5 days ago
- 113 views
Icy_Viking said...
#define BOXES 10 for (int i = 0; i < 4; ++i) for (int j = 0; j < 4; ++j) //assert(boxIndex < BOXES); //causes program to abort
I'd say BOXES needs to be 16.
#define BOXES 10 for (int i = 0; i < 4; ++i) for (int j = 0; j < 4; ++j) //assert(boxIndex < BOXES); //causes program to abort
I'd say BOXES needs to be 16.