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.
This is a discussion on Corrupt within the C++ Programming forums, part of the General Programming Boards category; I get this when exiting my program no idea what it means. Code: Run-Time Check Failure #2 - Stack around ...
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
hmm, ok ill check it out.