#include<ctime> /* or <time.h> */ clock_t start = clock(); /* then the program runs... */ . . . /* program ends here; now output how much time the program has run */ cout << (float)(clock() - start) / CLOCKS_PER_SEC << " seconds\n";◀ Conversion Between char* and string▶ Pause For Some Time