On Thu, 22 May 2003 12:50:50 +0200
Dondolo Mpho <MDo...@OL...> wrote:
> I am busy reading up on c++ and want to focus on input and output for
> a
> while.
> I want to write a program that reads from my pc clock and displays the
> time on via a display board I have installed via one of my ports.
> I need help in two areas.
>
> 1)How can I instruct my program to read from the pc clock and display
> the time on the board in a different color.
That would be pretty hard to answer since we know nothing of your
"display board"
> 2)how do I get my program to refresh every minute so that the time can
> be as accurate as possible.
Parse the contents of the time from your PC clock into it's parts, every
time the "minutes" variable changes, display the time.
|