DanFlyBoy
asked on
creating a timer in useing C lang.
I want to create a timer using C. It would start by a decision such as if ( 1 -- 1) {start timer}.
It would be represented as mnutes and seconds, 10:00 down to 00:00 and then reset.
It would be represented as mnutes and seconds, 10:00 down to 00:00 and then reset.
If you are running Windows, then
http://msdn2.microsoft.com/en-us/library/ms644900.aspx
is a good reference.
http://msdn2.microsoft.com/en-us/library/ms644900.aspx
is a good reference.
ASKER
The operating system is VXWorks, runnung on a power pc processor. I am using c as the lanugauge.
I'm afraid someone else will need to help. Sorry.
ASKER
the code should be like a stopwatch, once decsion is made to start timer, it should count down like a stop watch froom 10:00 to 0. Time will be displayed on screen.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1) Does this need to be portable?
2) If not, what operating system are you using?
3) What resolution do you need?
4) Is this a simple example program or do you have other threads running?