Mail Archives: djgpp/1997/01/17/00:51:47
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 -