From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: use memory more than 1MB Date: Tue, 27 Jan 1998 01:24:57 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 17 Message-ID: <34CD7DB9.3F2D@cs.com> References: <01bd26e6$b95daea0$0100007f AT localhost> <34C82014 DOT DADFBAFC AT nwrain DOT com> NNTP-Posting-Host: ppp205.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Neil & Joey Obremski wrote: > > Try dynamically allocating the array... > > char *array = new char [1024000]; That only works if the program is compiled as C++, which is obviously not what the original poster wanted. Please try to keep your examples in the same language used by the poster. :-) -- --------------------------------------------------------------------- | John M. Aldrich | "If 'everybody knows' such-and-such, | | aka Fighteer I | then it ain't so, by at least ten | | mailto:fighteer AT cs DOT com | thousand to one." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------