time functions

i am trying to make a cpp program that calculates time based on what u entered..
pseudo code
1.enter time in x seconds
2.get current time
3.add seconds to current time
4.show time after x seconds passed.

so i will be entering x , such as 600 the time is 13:35, it will output 13:40.
Topic archived. No new replies allowed.