AnsweredAssumed Answered

Complex type CW MCU 10.2

Question asked by Ioana Croitoru on Aug 16, 2013
Latest reply on Apr 22, 2014 by he bo



I need to use a complex type in order to see the result returned by std::polar.

I see that the CW10.2 contains <complex.h> with the next definition:


#define complex      _Complex;


complex is not recognized like a type but _Complex apperas to be a type(the style it's the same as a int or void). Yet I get next error:


undefined identifier '_Complex' ;


What can I use for a complex number if that is not correct?