From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: gxx and complex numbers ? HELP Date: Thu, 16 Jan 1997 18:56:58 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 24 Message-ID: <32DEEA7A.7F26@cs.com> References: <5blm1q$mls AT freenet-news DOT carleton DOT ca> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp106.cs.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 Anastasios Drosopoulos wrote: > > I'm trying to port a c++ program from Linux/g++ environment to djgpp, vs2.01. > My program uses the Complex class of libg++ and works fine in Linux. However, > djgpp gives me error messages, as if it doesn't recognize the complex class. > A test program for complex numbers follows: > > #include > #include DJGPP runs on DOS, which doesn't distinguish between case in filenames. Therefore, and are the same thing to DOS! DJGPP solves this problem by using <_complex.h> in place of . Also see the FAQ (v2/faq202b.zip), sections 8.10 and 8.11, for IMPORTANT information on using the Complex class with DJGPP. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | God's final message to His Creation: | http://www.cs.com/fighteer | | "We apologize for the inconvenience."| Fight against proprietary | | - Douglas Adams | software - support the FSF!| ---------------------------------------------------------------------