Printing a circle in Console for clock

I am attempting to make an ASCII console clock that consists of three circles: outer and middle circle consists of 60 chars (1-60) for seconds and minutes, inner consists of 12 or 24 chars for hours.

For starters, I want to create an ascii circle. If that works, I think I could make the rest. Problem is, is that whatever I try I cant get a circle. It does not have to be perfect, as long as it looks acceptable.
Once an attempt seemed to try and make a circle but be way out of proportion, but since I kept trying that code is lost .

Bit of a graphical representation of how it could look like. Chars here replaced with the numbers of the time of course, whith the current time in different color.
But maybe its a good idea to start with just one circle.

the int second, minutes, hours; on top of code is a remnant of an other try, you can ignore that.

Re: Printing a circle in Console for clock

Posted 24 January 2013 - 09:18 AM

I got the circle! It still needs a lot of work but it at least its on its way.
Main problem now is to get the 0 at the top, and modify the size so it is possible to add a inner or outer ring around it for the minutes and seconds.

Re: Printing a circle in Console for clock

Posted 24 January 2013 - 09:25 AM

It is really starting to annoy that there isn't an edit button.
There was a typo in the code, wich is fixed now. Lesson learnt: always compile before posting on forum. Especially if forum does not have edit button.