I am using the vector pushback in a recursive function. But some time program crashed.
how to solve the problem
Last edited on
You're aren't supplying enough information.
Do you have a code sample you can post here?
Does the recursion stop at some time? C++ doesn't support lazy evaluation so you can't have infinite vectors and things like that.