In order to know the limit of the recursive calls in C++ i tried this function !
void recurse ( int count ) // Each call gets its own count { printf(\"%d\\n\
You've probably run out of stack space.
Every time you call the recursive function, it needs to push a return address on the stack so it knows where to return to after the function call.
It crashes at 4716 because it just happens to run out of stack space after about 4716 iterations.