Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c pause for 1 second

#include <stdio.h>
#include <unistd.h> //you need this for linux!
#include <dos.h> //you need this for Windows!

int main(){
    printf("Hello,");
    sleep(5); // format is sleep(x); where x is # of seconds.
    printf("World");
    return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pause
ADD COMMENT
Topic
Name
4+8 =