Program Time Counter
i want to calculate the running time of my program in C++ compilier
TC300, please explain each point
Kashif
Junior Poster in Training
85 posts since Mar 2006
Reputation Points: 13
Solved Threads: 1
This has been asked before do a search of the boards.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Thx but didnt find if u have then send the link
Kashif
Junior Poster in Training
85 posts since Mar 2006
Reputation Points: 13
Solved Threads: 1
Depends on the accuracy, but if you're not too bothered you could use clock from time.h.
Like I said do a board search, "c++ time program/execution" etc.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
>>Thx but didnt find if u have then send the link
Here is just one of severl threads. Look around on the C board and you will find others
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
i find the func. from book, i just forget the function and library name and wanted it in hurry thats why i write but its ok....Thx
Kashif
Junior Poster in Training
85 posts since Mar 2006
Reputation Points: 13
Solved Threads: 1