So basically I need to create a program where I get my system time, wait a few minutes, get a second system time, then calculate the difference between the two time periods in hours and minutes, hopefully all in one function.
The question is, i know how to get the system time using the ctime header, but how can i calculate the differences?