#include double difftime (time_t end, time_t beginning) { return end - beginning; }