C Delay

[Solved] C Delay | C - Code Explorer | yomemimo.com
Question : c include delay

Answered by : jolly-jellyfish-sohyvqrbf8cb

// for micro programming use(havnt tested in other projects):
#include <delay.h>

Source : | Last Update : Sat, 08 May 21

Question : c pause for 1 second

Answered by : grotesque-gazelle-47a0tlit1tix

#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 : https://stackoverflow.com/questions/10922900/is-it-possible-to-wait-a-few-seconds-before-printing-a-new-line-in-c | Last Update : Sun, 21 Jun 20

Answers related to c delay

Code Explorer Popular Question For C