time.h

I wanted to create a typing game.........i need a mechanism to keep track of the time in the background while the user types.......can someone find a solution......i think time.h is the solution .....but i dont know anyhting about it......can someone tell about its functions..............
time( 0 ) returns the number of seconds elapsed since some (fixed) point in time.
Calling it twice and subtracting the two values gives you an elapsed time in
seconds.

Topic archived. No new replies allowed.