|
From: Smurf, P. <smu...@xs...> - 2003-05-22 15:48:04
|
Good peopleHi, I'm starting my self with learning C so I can't help you a lot. However I do know that C contains a header called "time.h" it has all kinds of time related functions. As for the autop update thing the only thing I can think of is use a timer (do you have timers in C/C+?) or make your appliction run with AT on windows NT or cron (*nix) automaticly. Christian -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Dondolo Mpho Sent: donderdag 22 mei 2003 12:51 To: dev...@li... Subject: [Dev-C++] Good people 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. 2)how do I get my program to refresh every minute so that the time can be as accurate as possible. Thanks in advance Regards, Mpho Dondolo Support Analyst CSC Computer Sciences (South Africa) (Pty) Ltd Tel: +27 21 5030059 Fax: +27 21 5095619 Email:MDo...@ol... Email: MDo...@cs... |