How do I call clock()
in C++
?
For example, I want to test how much time a linear search takes to find a given element in an array.
See Question&Answers more detail:osHow do I call clock()
in C++
?
For example, I want to test how much time a linear search takes to find a given element in an array.
See Question&Answers more detail:os