delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/28/19:02:39

From: "mephisto" <mephisto AT cloudnet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: re: "big" arrays
Date: 28 Dec 97 23:30:12 GMT
Organization: Cloudnet
Lines: 8
Message-ID: <01bd13ea$293d4c40$a8dcc7c7@suzie>
NNTP-Posting-Host: news.cloudnet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I don't know how it would work if your program compiled under V1, but
here's what I do know:

When you have a line like this "char MyArray[20000000];", DJGPP will
attempt to allocate the array, but if you use implicit allocation(ie, not
using malloc or an equilavent) DJGPP won't make your program crash. So, use
malloc and test the results.

- Raw text -


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