"fadics" <fa****@sohu.com> wrote in message
news:cd***********@mail.cn99.com...
I wrote a program with recursion to sort some data. When the number of
data is too large, there will be a error, stack overflow.
How can I do? And how can I know the size of system stack?
Thank you.
There is no standard C++ way to find out the size of the system stack.
You should ask this question again on a group that discusses your compiler.
There might be a way to find out the size of the stack that is specific to
your compiler. This groups welcome message suggests some groups that might
be a better place for your question.
http://www.slack.net/~shiva/welcome.txt
john