From: Darren Noble To: djgpp AT delorie DOT com Subject: Re: large arrays -- newbie question Date: Mon, 28 Jun 1999 11:33:46 -0600 X-Mailer: KMail [version 1.0.17] Content-Type: text/plain References: <19990628120046 DOT 27702 DOT 00002114 AT ngol08 DOT aol DOT com> MIME-Version: 1.0 Message-Id: <99062811352900.00996@dome.calderathin.com> Content-Transfer-Encoding: 8bit Reply-To: djgpp AT delorie DOT com On Mon, 28 Jun 1999, you wrote: > Hello, I am just starting out in c++, and I have a question about how I would > go about making a rther large array (like 3 arrays each of 720*486 bytes, or > so). I have heard some compilers have a limit to how big they can normally > make something, and you have to go about allocating memory for anything larger > than like 64k. In DJGPP, would I have to do anything special to make an array > allong the lines of ... > > char large_ish_matrix [720] [486] > > ? > > Sorry if this is a silly questuion, but I am an extreme newbie to both c++, and > DJGPP. > > Thanks for you help! You can have huge arrays in DJ. You don't hove that stupid 640k barrier. So that line would work. Matter of fact I've made much larger arrys than that in DJ.