Question: Representing complex numbers in C

Doug Gwyn gwyn at smoke.brl.mil
Fri Mar 1 03:35:12 AEST 1991


In article <12620.27cbe36f at ecs.umass.edu> lim at ecs.umass.edu writes:
>I need to do the following in C:
>COMPLEX x, y, z;
>z = x + y;

You better not "need" to do this in C, because it's impossible.
You can do something like it in C++, or you can use C in a different way.



More information about the Comp.lang.c mailing list