Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
Start time, end time and execution time for using text file in c++..

output:
Hours : Minutes : Seconds
Start Time : 12 : 05 : 32

End time :   12 : 06 : 12

Execution :  00 : 00 : 40
Time


Please Give me the Code.. Help Me..
Posted

Quote:
Start time, end time and execution time for using text file in c++..

There is not 'an execution time for using a text file'. Do you mean: "execution time of an application processing a text file?".

Both Windows and Linux shells (on Windows is the PowerShell) provide a tool for measuring the execution time of a process, see:
 
Share this answer
 
You can use time() to read the clock if you want to mesure at this level.
 
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