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;
}
Also in C:
- FILE*
- how to store a user input with spaces in c
- java.lang.SecurityException: Permission denied (missing INTERNET permission?)
- visa germany algeria
- With a suitable example, explain increment, decrement and compound assignment operators
- accessing elements of 1d array using pointers
- gcc on windows
- how to remove button decoration
- how do pointers work in c programmwiz
- insertion singly linked list in c
- BlockChain in c
- array length c
- find the largest number in else if javascript
- how to get the length of a linked list in c
- boolean c
- connect servo to arduino
- c zero out array
- TBufDataset
- C \r
- string to int c
- c function pointer
- 233 pounds to inr
- vbl share price
- two bytes to int c