Mail Archives: djgpp/1998/01/21/10:15:23
Inyaki Rodrguez wrote:
> Hi, I'm a newbie with C++ and I want to work with class Complex but I have
> some questions.
> I had write this sample program:
>
> #include <iostream.h>
> #include <complex.h>
You are including complex.h, which is the C++ std library header. This is
complex<T>, where T is any class that has the correct operations.
What you seem to be after is the GNU Complex class, which is in <_complex.h>.
The leading underscore is a workaround for DOS's inability to distinguish case
in file names. Any file that would have a leading capital letter is given an
underscore instead.
> How can I compile it?
>
> Thanks,
> Inyaki
--
Charles Krug, Jr.
- Raw text -