home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:9301 comp.lang.c:13586
- Newsgroups: comp.os.msdos.programmer,comp.lang.c
- Path: 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
-
- > 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)
-
-
-
-