My friend just gave me a c++ problem..

well the problem was to make small circles on circumfrence of a big circle that is positioned in the middle of screen...

well i can get that middle of screen by getmaxx()/2 ...

but all i can get to find locus of the circle is throught the formulas :

rcos(theta)

rsin(theta)

but this i suppose wrks only for circle having centre (0,0)..

so im kinda stuck here

any help would be appreciated