delorie.com/archives/browse.cgi | search |
From: | "Edmund Horner" <ejrh AT paradise DOT net DOT nz> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <dphq0tk3q379loiideccpcmrn4ga535nfl AT 4ax DOT com> |
Subject: | Re: Array Size Question |
Lines: | 22 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Organization: | Paradise Net |
Message-ID: | <973951101.305564@shelley.paradise.net.nz> |
Cache-Post-Path: | shelley.paradise.net.nz!unknown AT 203-96-146-146 DOT tnt2 DOT paradise DOT net DOT nz |
X-Cache: | nntpcache 2.4.0b5 (see http://www.nntpcache.org/) |
Date: | Sun, 12 Nov 2000 03:00:05 +1300 |
NNTP-Posting-Host: | 203.96.152.26 |
X-Complaints-To: | newsadmin AT xtra DOT co DOT nz |
X-Trace: | news.xtra.co.nz 973951102 203.96.152.26 (Sun, 12 Nov 2000 02:58:22 NZDT) |
NNTP-Posting-Date: | Sun, 12 Nov 2000 02:58:22 NZDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
What a curious question! Have you been using other compilers, say, 16-bit compilers recently? As far as I know, gcc will allow you to create an array up to probably the maximum address space on a 32-bit processor. I've made arrays that are 64 or so megabytes of structs, and I assume one can go beyond that... If you're asking about the maximum elements in an array, that's also probabably going to be about 2.147 billion. I suggest you don't worry about this, unless you start to have problems. Edmund. <chris319> wrote in message news:dphq0tk3q379loiideccpcmrn4ga535nfl AT 4ax DOT com... > By default, what is the maximum array size in gcc and how can I set up an array > larger than the default size?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |