home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9160 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.5 KB

  1. Xref: sparky comp.os.msdos.programmer:9160 comp.lang.c:13326
  2. Path: sparky!uunet!cs.utexas.edu!wupost!bcm!aio!aio!mll
  3. From: mll@aio.jsc.nasa.gov (Mark Littlefield)
  4. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  5. Subject: multi-dimension HUGE arrays
  6. Message-ID: <1992Sep8.141037.5898@aio.jsc.nasa.gov>
  7. Date: 8 Sep 1992 14:10:37 GMT
  8. Sender: news@aio.jsc.nasa.gov (USENET News System)
  9. Reply-To: mll@aio.jsc.nasa.gov
  10. Organization: Lockheed ESC/NASA JSC
  11. Lines: 33
  12.  
  13. Hi there,
  14.  
  15. I hope this is the right forum for this question (I don't normally
  16. read this group).  I have to write a set of test programs on a PC for
  17. a new laser scanner that we are getting here in our lab.  The problem
  18. I'm having is allocating a short 256x256 array in borland C.  I know I
  19. should be using the huge data type, but I get two types of errors
  20. depending on how I define the array.  If I say
  21.  
  22.    int array[256][256]
  23.  
  24. I get the error "array size too large"
  25.  
  26. but if I put
  27.  
  28.    int huge array[256][256]
  29.  
  30. I get the error "conflicting type modifiers."
  31.  
  32. I'm sure it's a simple answer so if you can send me mail with the
  33. answer I'd appreciate it (no need to blow bandwidth on this one).
  34.  
  35. thanks,
  36.  
  37. mark
  38. -- 
  39. =====================================================================
  40. Mark L. Littlefield              Intelligent Systems Department
  41. internet: mll@aio.jsc.nasa.gov 
  42. USsnail:  Lockheed Engineering and Sciences 
  43.           2400 Nasa Rd 1 / MC C-19            
  44.           Houston, TX 77058-3711
  45. ====================================================================
  46.