I need a clock which shows sped up time. That is, in that clock 100 milliseconds of real time = 1 minute in program clock or something like it.
Basically I want to simulate a football match. So I need a clock, which starts every time from 0 and runs to 90 minutes. but as 90 minutes in real world is too long, I need a sped up the clock.
Also I need to display the clock every time as it runs.
I am new to methods of seeding time from system and using functions like clock()
.