Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by Andy Sun Anu-guest
Fri, 20 Jul 1990 02:38
Turbo C stack program
Author: Andy Sun Anu-guest
Date: Fri, 20 Jul 1990 02:38
Date: Fri, 20 Jul 1990 02:38
17 lines
1295 bytes
1295 bytes
Hi, Does anybody out there know if I can alter the stack size (increase it to be specific) in Turbo C? And if yes, how can it be done? I got a stack overflow error in my program (compiled using small model) and after I flipped through all the manuals, I still cannot find anything that allow me to change the stack size (there is a global variable called _stklen, but it doesn't mention exactly how it is used). I CANNOT use anything higher than small model since I will have a memory allocation error (insufficient memory). BTW, I am using Turbo C version 1.5. Any suggestion and advises are welcome. Andy _______________________________________________________________________________ Andy Sun | Internet: sun@me.utoronto.ca University of Toronto, Canada | UUCP : ...!utai!me!sun Dept. of Mechanical Engineering | BITNET : sun@me.utoronto.BITNET
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads