i want to calculate the running time of my program in C++ compilier
TC300, please explain each point

Recommended Answers

All 5 Replies

Member Avatar for iamthwee

This has been asked before do a search of the boards.

Thx but didnt find if u have then send the link

Member Avatar for iamthwee

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.

>>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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.