Hello I want to copy a value that I got in if so I can use it on the next part of the code how can I do that? I can't use the value of begin on the part of elapsed_secs Thank you
int temp = temp + 1;
if (temp == 1)
clock_t begin = clock();
clock_t end = clock();
double elapsed_secs = double(end - begin) / CLOCKS_PER_SEC;
gotoxy(50, 1); printf("Tiempo: %d", elapsed_secs);
Aucun commentaire:
Enregistrer un commentaire