hi all. does anyone know how i can handle a stack overflow error in a recursive function. im using vb.net to make a function that searches all the squares adjacent to a square in a grid.
Its ok. It was an endless loop. code was so long, I couldn't figure it out first. Now its working fine. But still is there any way to release the resources held by the system stack during run time. I used a call to the Clear() method but that doesn't seem to work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.