home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!ames!network.ucsd.edu!coast!sah
- From: sah@coast.ucsd.edu (Scott A. Herndon)
- Newsgroups: comp.sys.mac.programmer
- Subject: Think C 32K segment
- Date: 16 Dec 1992 20:32:17 GMT
- Organization: Center for Coastal Studies, SIO
- Lines: 21
- Distribution: usa
- Message-ID: <1go3ohINN4pq@network.ucsd.edu>
- NNTP-Posting-Host: coast.ucsd.edu
-
- Greetings,
-
- I am trying to write a program using ThinkC 5.x that
- declares a large array.
-
- int Height[129][129];
-
- I get the "code overflow" message when trying to compile
- and I think this has to do with some sort of 32k segment limitation.
- My questions are:
-
- i) Am I correct about the cause of the error?
- ii) How can I declare and use a large array like the one above
- that is about (2*129)^2 bytes large?
-
-
- I appreciate any help/suggestions!
-
-
-
-
-