cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/28/12:25:28

From: forkazoo AT aol DOT com DOT spammy (forkazoo)
Newsgroups: comp.os.msdos.djgpp
Subject: large arrays -- newbie question
Lines: 19
NNTP-Posting-Host: ladder05.news.aol.com
X-Admin: news AT aol DOT com
Date: 28 Jun 1999 16:00:46 GMT
Organization: AOL http://www.aol.com
X-Newsreader: AOL Offline Reader
Message-ID: <19990628120046.27702.00002114@ngol08.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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!



please remove .spammy.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019