delorie.com/archives/browse.cgi | search |
From: | eplmst AT lu DOT erisoft DOT se (Martin Stromberg) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: huge buffer |
Date: | 18 Feb 2003 14:37:52 GMT |
Organization: | Ericsson Erisoft AB, Sweden |
Lines: | 11 |
Message-ID: | <b2tgg0$55c$1@antares.lu.erisoft.se> |
References: | <b2tfcu$bgg3 AT imsp212 DOT netvigator DOT com> |
NNTP-Posting-Host: | lws256.lu.erisoft.se |
X-Newsreader: | TIN [version 1.2 PL2] |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Jacky Luk (luckie AT netvigator DOT com) wrote: : Are there any ways to allocate a 30000lines *81 characters in gcc? : conventional memory can't cope with that! Thanks Yes, "char *p = malloc( 30000*(81+(null_included?0:1)) );". (This has nothing to do with conventional memory.) Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |