Advertisement
luistavares

Temporização em linguagem C

Sep 16th, 2014
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<conio.h>
  3. #include<windows.h>
  4.  
  5. int main(void){
  6.     printf("Aguarde 10 segundos!\n\n");
  7.     Sleep(10000); /* Espera 10 segundos */
  8.     printf("Obrigado por esperar!\n\n");
  9.     getch();
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement