home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:9160 comp.lang.c:13326
- Path: sparky!uunet!cs.utexas.edu!wupost!bcm!aio!aio!mll
- From: mll@aio.jsc.nasa.gov (Mark Littlefield)
- Newsgroups: comp.os.msdos.programmer,comp.lang.c
- Subject: multi-dimension HUGE arrays
- Message-ID: <1992Sep8.141037.5898@aio.jsc.nasa.gov>
- Date: 8 Sep 1992 14:10:37 GMT
- Sender: news@aio.jsc.nasa.gov (USENET News System)
- Reply-To: mll@aio.jsc.nasa.gov
- Organization: Lockheed ESC/NASA JSC
- Lines: 33
-
- Hi there,
-
- I hope this is the right forum for this question (I don't normally
- read this group). I have to write a set of test programs on a PC for
- a new laser scanner that we are getting here in our lab. The problem
- I'm having is allocating a short 256x256 array in borland C. I know I
- should be using the huge data type, but I get two types of errors
- depending on how I define the array. If I say
-
- int array[256][256]
-
- I get the error "array size too large"
-
- but if I put
-
- int huge array[256][256]
-
- I get the error "conflicting type modifiers."
-
- I'm sure it's a simple answer so if you can send me mail with the
- answer I'd appreciate it (no need to blow bandwidth on this one).
-
- thanks,
-
- mark
- --
- =====================================================================
- Mark L. Littlefield Intelligent Systems Department
- internet: mll@aio.jsc.nasa.gov
- USsnail: Lockheed Engineering and Sciences
- 2400 Nasa Rd 1 / MC C-19
- Houston, TX 77058-3711
- ====================================================================
-