jeudi 8 juillet 2021

How you to calculating time run C++? [duplicate]

How you to calculating time run apppliccccation C++ to formate time 00:00:00?

clock_t begin = clock();
...............
clock_t end = clock();
double time_spent = (double)(end - begin) / CLOCKS_PER_SEC;

Aucun commentaire:

Enregistrer un commentaire