Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::clock is an STL time function to obtain the number of ticks the program has been running.
std::clock is defined in the header file ctime.h.
#include <cstdlib> |
Screen output (elapsed time might differ):
Elapsed time: 0.16 seconds |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.