📜  c 等待 2 秒 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:30.154000             🧑  作者: Mango

代码示例1
#include 
#include  // notice this! you need it!

int main(){
    printf("Hello,");
    sleep(5); // format is sleep(x); where x is # of seconds.
    printf("World");
    return 0;
}