delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/27/20:34:19

From: "Raf256" <raf256 AT go2 DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: That's my problem - can't use large memory!
Date: Fri, 28 Sep 2001 02:23:53 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 12
Message-ID: <9p0fs9$8uo$1@news.tpi.pl>
References: <20010926232900 DOT 60493 DOT qmail AT web14606 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: mail.pgd.pl
X-Trace: news.tpi.pl 1001636553 9176 195.116.155.208 (28 Sep 2001 00:22:33 GMT)
X-Complaints-To: usenet AT tpi DOT pl
NNTP-Posting-Date: 28 Sep 2001 00:22:33 GMT
X-Notice-1: This post has been postprocessed on the news.tpi.pl server.
X-Notice-2: Subject line has been filtered and leading Odp: string removed.
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-Subject: Odp: That's my problem - can't use large memory!
X-MSMail-Priority: Normal
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>  int c[10000000000];

int *c = new [10000000000];
c[5425] = c[232] + c[44];
/* etc... */
delete [ ] c;
/* do NOT use 'c' any more now */

--
Raf256


- Raw text -


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