Polar coordinates of a point

Hi,
I want to create a program in C++ that can find polar coordinates of a point,
can somebody help me or give useful links?
I need to use classes, right?
use trigonometry to find the rotation and use the distance formula to calculate the distance from the origin.
Google "Rectangular to Polar"

I need to use classes, right?
The task itself can be done with or without classes.
Last edited on
Topic archived. No new replies allowed.