From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: C++ Error Date: Sun, 22 Feb 1998 03:52:35 -0800 Organization: Alcyone Systems Lines: 22 Message-ID: <34F01183.7BB30C95@alcyone.com> References: <34F032CC DOT F0E AT mailexcite DOT com> NNTP-Posting-Host: newton.alcyone.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 BlueShade wrote: > For some bizarre reason, when I compile programs under gcc using the > C++ > features, they don't work. More specifically, when I declare any size > of an array, the executable becomes HUGE. I had a program that used > an > int array of 800 by 800, and compiled it in C. The executable size > was > 20K. I compiled the same program under C++ and it was over 2 megs! > If > anyone can help, i'd appreciate it. Thanks. This question is answered in detail in the FAQ. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "I've got the fever for the / flavor of a cracker" / Ice Cube