Hi There!

I created an algorithm that uses imaginary numbers. It is fine on Dev C++, and now I am trying to port to VS2008. I figured out most things, including how to declare complex numbers. However, I've been having an incredible hard time trying to figure how to use the " i " number! For example:

In Dev C++:
Code:
z_cmplx = cexp(I * f1/Fs * 2 * PI);

Where "I" is a macro from the library!

In VS2008:
Code:
z_cmplx = std::exp(I * f1/Fs * 2 * PI);
Although I DID include <complex> library just like I did before, the compiler gives me: error C2065: 'I' : undeclared identifier.

This is a pretty time sensitive matter, if anyone could help I'd REALLY appreciate!

Thank you in advance.

Best wishes,

Fernando