I call a function recursively inside itself. At the begin it works ok, but then I get bad_alloc or segmentation violation at the end of the program.
I have tried to clear all vectors and also build destructors in every class I use. I use vectors and arrays.
Comments
Post a Comment