<complex>

here is a complex complex<double> com(10, 2);
I can change the real part with com += 10; //com now is (20, 2)
but what can I do to change the image part?
Last edited on
com += complex <double> (0, 8);
Hope this helps.
Topic archived. No new replies allowed.