Article View: comp.os.msdos.programmer
Article #1460Re: multi-dimension HUGE arrays
From: Alex Povzner
Date: Sat, 12 Sep 1992 08:58
Date: Sat, 12 Sep 1992 08:58
19 lines
998 bytes
998 bytes
> 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."
>
You are to use Huge Memory Model, not a Huge Modifier. If
You are working under Huge Model then all pointers are by default
HUGE. But if You use Small Model, despite of modifiers your Data
Segment will occupy not more than 64k.
Alex Povzner
----------------------
root@sean.tomsk.su
Tomsk,Siberia,Russia (Moscow,balalaika,etc)
Technical Details
Message-ID:
<AB35Rigq06@sean.tomsk.su>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!kiae!relcom!usenetReferences:
<1992Sep8.141037.5898@aio.jsc.nasa.gov>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.lang.c Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!kiae!relcom!usenet From: root@sean.tomsk.su (Alex Povzner) Subject: Re: multi-dimension HUGE arrays Message-ID: <AB35Rigq06@sean.tomsk.su> Lines: 22 Sender: news-service@kiae.su Reply-To: root@sean.tomsk.su Organization: Elecard ltd hq References: <1992Sep8.141037.5898@aio.jsc.nasa.gov> Date: Sat, 12 Sep 92 16:58:43 +0800