Re: [Dev-C++] How to increase space for defining arrays
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Philip B. <ph...@bl...> - 2009-10-24 23:32:40
|
John, For that kind of a size I'd suggest using dynamic memory instead, the new operator if you're working with C++ or the calloc function if you're using C since it's an array that we're talking about. Pushing that much data directly on the stack seems unwise. Kind regards, Philip Bennefall ----- Original Message ----- From: "John Mcelvaney" <joh...@co...> To: <dev...@li...> Sent: Sunday, October 25, 2009 1:53 AM Subject: [Dev-C++] How to increase space for defining arrays > > I've searched all day, but I can't find any help for increasing the > size for declaring arrays. I can use a little over 2 meg. I saw > one suggestion about increasing the minGW "kern.maxdsize", > but I can find no info on the web about how to do that. Anybody > have any suggestions? p.s. I'm using Dev C++ version 4.9.9.2 > and minGW32 version 3.2.4. Thanks. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.423 / Virus Database: 270.14.28/2454 - Release Date: 10/23/09 14:09:00 |