This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use the structure "_complex" defined in "math.h"?



Hello, everyone, I need your help!

Others say that the header file "math.h" has defined the type "complex" to facilitate the calculation of complex numbers. And there are also some common constant numbers such as "pi". So I wanna have a try. But it fails.