AT> Q. How do I change the stack size?
AT> A. The size of the stack of a Turbo C++ program is determined at
AT> run time by the global variable _stklen. To change the size
AT> to, for example, 10,000 bytes, include the following line in
AT> your program:
AT>
AT> extern unsigned _stklen = 10000;
That's the strangest thing I've ever seen (runtime adjustment).
Are there any sideffects to changing the variable at different
places?
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)
|