delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/17/00:51:47

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
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 <iostream.h>
> #include <Complex.h>

DJGPP runs on DOS, which doesn't distinguish between case in filenames. 
Therefore, <Complex.h> and <complex.h> are the same thing to DOS!  DJGPP
solves this problem by using <_complex.h> in place of <Complex.h>.

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!|
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019