Auto Updating Clock?

In the program that I'm slowly building, I have it set to display the current time, at which the program starts but I'd like to have it keep track of time and update itself.

What is displayed in the console when I run my program...
It is currently ??:?? AM/PM.
It is small plus it didn't take much coding but is it possible for it to stay current as it keeps track of time, automatically updating itself without resetting the display.

I know that I have the Windows clock at the bottom right corner but if it's possible then I'd love to have it.

So, is it possible?
> So, is it possible?

Yes.

The simplest way would be to use a terminal control library.
For instance: http://pdcurses.sourceforge.net/

Topic archived. No new replies allowed.