Search
 
SCRIPT & CODE EXAMPLE
 

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;
}
Comment

PREVIOUS NEXT
Code Example
C :: how to use pointer in c to print char 
C :: stack and heap memorym in ram 
C :: c size_t 
C :: redis service 
C :: function that changes all lowercase letters of a string to uppercase. 
C :: nested while loop in c 
C :: armstrong in c 
C :: find sum of all odd numbers from 1 to n using for loop 
C :: c defined value sum 
C :: boolean operators in c++ 
C :: iterating through a linked list 
C :: what does packing mean in c 
C :: address operator 
C :: can we use logical operators in switch c 
C :: Highest integer among the four inputs in c 
C :: Answer to storing information in array 
C :: block quote in lua 
C :: convert calendar time to epoch in c programming 
C :: OpenDaylight maven settings 
C :: temperature sensor data 
C :: condition ternaire in c 
C :: 11*179*.9*1.35 
C :: peripheral bus clock pic32 
C :: mettre int dans string c % 
C :: program to merge two strings in c 
C :: #include <stdio.h int main() { int x = 10, *y, **z; y = &x; z = &y; printf(""%d %d %d"", *y, **z, *(*z)); return 0; } 
C :: gotoxy not working in dev c++ 
C :: params in main function in C 
C :: matrix of string in c 
C :: docker logs follow 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =