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

  1. Xref: sparky comp.os.msdos.programmer:9301 comp.lang.c:13586
  2. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  3. Path: sparky!uunet!mcsun!fuug!kiae!relcom!usenet
  4. From: root@sean.tomsk.su (Alex Povzner)
  5. Subject: Re: multi-dimension HUGE arrays
  6. Message-ID: <AB35Rigq06@sean.tomsk.su>
  7. Lines: 22
  8. Sender: news-service@kiae.su
  9. Reply-To: root@sean.tomsk.su
  10. Organization: Elecard ltd hq
  11. References: <1992Sep8.141037.5898@aio.jsc.nasa.gov>
  12. Date: Sat, 12 Sep 92 16:58:43 +0800
  13.  
  14. >      int array[256][256]
  15. >
  16. >   I get the error "array size too large"
  17. >
  18. >   but if I put
  19. >
  20. >      int huge array[256][256]
  21. >
  22. >   I get the error "conflicting type modifiers."
  23. >
  24.         You are to use Huge Memory Model, not a Huge Modifier. If
  25. You are working under Huge Model then all pointers are by default
  26. HUGE. But if You use Small Model, despite of modifiers your Data
  27. Segment will occupy not more than 64k.
  28.  
  29.                                                 Alex Povzner
  30. ----------------------
  31. root@sean.tomsk.su
  32. Tomsk,Siberia,Russia (Moscow,balalaika,etc)
  33.  
  34.  
  35.  
  36.