View Single Post
Old Jun 28th, 2005, 10:46 PM   #6
EverLearning
Hobbyist Programmer
 
EverLearning's Avatar
 
Join Date: May 2005
Location: Indiana
Posts: 130
Rep Power: 4 EverLearning is on a distinguished road
Here's something else I found:
clicky
Then scroll down to the time.h and look at the example program, seems like it has what you you are looking for, which is basically same as what DaWei said.
Only this is a ready-made code

ps: I couldn't read the descriptions of the time functions, Mozilla times me out but example compiled and worked.
__________________
got math? yumm...

"All men by nature desire to know" -Aristotle, Metaphysics
EverLearning is offline   Reply With Quote