Mail Archives: djgpp/2000/05/14/20:12:59
On Mon, 15 May 2000 02:28:46 +0400, "Alexei A. Frounze"
<alex DOT fru AT mtu-net DOT ru> wrote:
>I tried your suggestions, but the error is still the same.
>
>Compiler points to the line where I try to define that complex variable.
>
>No matter how I define it:
> complex j = complex (0,1);
>or
> complex j(0,1);
>
>I have still the same problem. "complex" is an unknown thing, although I
>have a lot of include files for complex math: complex.h, complex,
>complext.h, ...
oh my. did you run <complex> through visual_grep?
float_complex, not complex.
Or double_complex, or long_double_complex
Or you can use the trick from C++3ed with typedefing float_complex as
complex
best regards
Mike
- Raw text -