I'm new to C ++ and would like to know how to use complex numbers without being as follows:
double real[2]={2,5};
double imaginario[2]{7,9};
cout << "Soma: " << real[0]+real[1] << "+" << imaginario[0]+imaginario[1] << "i";
Is there a library for this?