X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: Trouble of using very large arrays Date: Fri, 23 Apr 2004 10:47:25 -0400 Lines: 16 Message-ID: References: NNTP-Posting-Host: user-2ivebef.dialup.mindspring.com (165.247.45.207) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1082731649 10803767 I 165.247.45.207 ([227552]) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, de, fr, ru, zh, ja In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Alex Vinokur wrote: > I prefer to compile C-program with C++ compiler. Since there are several places where the semantics of C and C++ differ, you are not doing what you think. You are compiling C-like C++ programs with a C++ compiler. There are numerous C programs which will either fail to compile or will give different results when a C++ compiler is applied to them. Often C++ requires what in C is bad and unidiomatic coding style. This is in part because BS enforced his version of "good" coding, but more because the syntax and semantics of C++ becomes hopelessly confused when confronted with normal C.