Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class Templates Question

Status
Not open for further replies.

TimeOut

Programmer
Nov 21, 2000
16
GB
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&amp; rho, const T&amp; theta = 0);

How can I use the 'polar' function in my program?
Would be grateful for any advice...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top