Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <time.h>
- int main(){
- //Vari�veis do tipo clock_t.
- clock_t inicio, fim;
- inicio = clock();
- //Coloque qualquer coisa para medir o tempo.
- fim = clock();
- printf(�Tempo %f�, (fim - inicio) / (float)CLOCKS_PER_SEC ) ;
- system(�PAUSE�);
- }
Advertisement
Add Comment
Please, Sign In to add comment