|
-
Oct 17th, 2003, 10:57 AM
#1
Thread Starter
Registered User
increase the stack size
i am using recursion to fill a polygon by checking one pixel at a time, so if the polygon is 100 x 100 pixels on the screen, then the procedure will call itself a maximum of 10000 times. Every time I get a stack overflow. If you want, i can send you the recursive function, but i don't think there is a problem with it, as it has worked based on the same principle in c++. Basically, how can i increase the amount of stack space available for my program?
thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|