Hi everyone!
I'm having trouble making a class template (I think this what I'm supposed to do).
I want to use the polar function in <complex>.
i.e Syntax of polar
template<class T>
complex<T> polar(const T& rho, const T& theta = 0);
How can I use the 'polar' function in my program?
Would be grateful for any advice...
I'm having trouble making a class template (I think this what I'm supposed to do).
I want to use the polar function in <complex>.
i.e Syntax of polar
template<class T>
complex<T> polar(const T& rho, const T& theta = 0);
How can I use the 'polar' function in my program?
Would be grateful for any advice...