dev c++ - Library for complex numbers in Dev-C++ -


what library complex numbers in dev-c++ (version 5.11)? tried use

#include <complex.h> 

but doesn't work:

39  2   c:\users\Àíòîí\documents\devcc_projects\fourier\main.cpp    [error] 'complex' not declared in scope 

so cannot use functions

.real 

what alternative?

the complex class c++ , in complex header. use instead:

#include <complex> 

documentation class can found in http://www.cplusplus.com/reference/complex/


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -