home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!uwm.edu!rutgers!igor.rutgers.edu!remus.rutgers.edu!jjwright
- From: jjwright@remus.rutgers.edu ( Jay)
- Newsgroups: comp.sys.mac.programmer
- Subject: THINK C 5: help with stack error
- Message-ID: <Sep.11.12.17.41.1992.893@remus.rutgers.edu>
- Date: 11 Sep 92 16:17:42 GMT
- Organization: Rutgers Univ., New Brunswick, N.J.
- Lines: 31
-
-
- greetings,
-
- how can one go about alleviating the problem of "stack collision with
- heap" in think c v5? The manual doesnt really help me too much, or i
- should say that i just dont like what its telling me. :)
-
- anyway, i have a program file (with the main) that has an include
- statement for a list of #define integers and about five struct
- statements. then i have a section defining/declaring? the subroutines
- that are used in the program.
- ie.
- int open_files();
- int goto_month();
- and so on and so on
- and then i have main() and within main's brackets i define eight file
- pointers, five structs and a couple of integer variables. This cannot
- take up that much space could it? The debugger just crashes when i
- use it, although once i received the error "stack collision with
- heap", so i checked out the book and now im asking you.
-
- is this post much too vague? if any one understands what im driving
- at, i would appreciate a response.
- if anyone thinks im crazy but has some ideas that might be useful, i
- would appreciate them too. :)
-
- in the mean time i will be pluggin away at it.
-
- thanx..
-
- jay
-