+ 1
you can use clock_t #include <time.h> int main(void) { clock_t tStart = clock(); /* Do your stuff here */ cout<< (double) (clock() - tStart)/CLOCKS_PER_SEC); return 0; } try that !
28th Oct 2017, 7:14 PM
Ahmed Salim
Ahmed Salim - avatar