An unhandled exception of type 'System.StackOverflowException' occurred in classdenemesi.exe

what can be the reason i got this error?
Stack overflow means that you have run out of stack memory. The problem could be that you have allocated some huge array on the stack that doesn't fit, or that you are calling some function with very deep or infinite recursion.
yesı used a large array. But how can i solve this problem now? should i use 2Dvector instead array? would i see the same problem again?
You can use a proper container such as a vector, or you can stick with what you have but make it using new.
Topic archived. No new replies allowed.