V
vsgdp
Hi,
I was wondering if the clock function is reliable for long periods of
time (maybe up to 10 hours).
The reason I ask is because Stroustrup says "the clock() function is
meant to measure intervals from a fraction of a second to a few
seconds."
In this case should I use time_t instead of clock_t?
I was wondering if the clock function is reliable for long periods of
time (maybe up to 10 hours).
The reason I ask is because Stroustrup says "the clock() function is
meant to measure intervals from a fraction of a second to a few
seconds."
In this case should I use time_t instead of clock_t?