I get this when exiting my program no idea what it means.
any ideas of what could be fixed?Code:Run-Time Check Failure #2 - Stack around the variable 'cube' was corrupted.
I get this when exiting my program no idea what it means.
any ideas of what could be fixed?Code:Run-Time Check Failure #2 - Stack around the variable 'cube' was corrupted.
> any ideas of what could be fixed?
Your code of course!
Look at your 'cube' variable.
Is it an array, or are there arrays close by?
Could any of those arrays have overflowed? The answer is yes, but you need to find out which one.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
hmm, ok ill check it out.