Drawing Unit Circle

Just wanted to know if anyone could help me out with drawing the unit circle in C++(with just the first quadrant visible and displaced about the origin) using the parametric and non-parametric methods. I’m just having trouble translating the math into code.

Uh, yeah. Is this a homework assignment or something? Hey everybody, lets help him with his homework… NOT!

Generic Hint: sine and cosine could be your friends…

Hint for lazy dudes : Google can be even more friendly than sine and cosine…

Hint for clever dudes : a math book it the best friend every 3d programmer could think of…