Click here to Skip to main content
15,885,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
time_t now_t, start_t;

time(&start_t);

time(&now_t);

dif = difftime (now_t,start_t);

How to calculate Total time before the excution.i mean copy of any file in the drive .how to calculate total time & Remaining time.


Thanks
Posted

1 solution

You may find sample code in difftime documentation at MSDN[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900