+ 2
How can I check Execution Time in C++ ? // In Turbo c++ not in other ide's like Code blocks
6 Réponses
+ 6
You'll have to rely on clocks and difftime functions from the header ctime, as chrono isn't available in Turbo C++...
//Why do you still use it?
www.cplusplus.com/reference/ctime/clock
+ 4
I believe it can be done in Visual Studio, when you debug C++ code.
+ 4
Also using turbo c++ is a mistake.
If you like try using VS
https://www.sololearn.com/discuss/410578/?ref=app
+ 4
Try <chrono>. In cppreference.com you can find an example of use to measure computer time. Just google "cpp reference chrono".