Real time calculations

Hello , sometime ago I started a small project centred around some crazy mutating breeding rabbits( sounds silly but I have learned an awful lot ,especially about lists). Anyway , as each year passes the number of rabbits grow - not exponentially but very quickly all the same. The next part of the exercise states that I have to modify the code such that 1 year in a rabbits life equals 2 seconds real time. Needless to say I have absolutely no idea how to this! ,especially as there is a large degree or randomness in the number of rabbits that get produced each year. Though it's pretty safe to say that the program can always beat this time i.e. A rabbit year will always pass by faster than 2 seconds real time. 

Rabbit year + some calculated time = 2 seconds realtime

Or, as i suspect there is a more elegant way of doing this?
Anybody got any idea where I even start on this next part of the exercise?
I'm not sure, but you may want to use the ctime header file. Take a look at these links.

http://www.cplusplus.com/reference/clibrary/ctime/clock/
http://www.cplusplus.com/reference/clibrary/ctime/
Topic archived. No new replies allowed.