What is the proper #include for the function 'sleep()'?

后端 未结 5 1000
北海茫月
北海茫月 2020-11-28 23:09

I am using the Big Nerd Ranch book Objective-C Programming, and it starts out by having us write in C in the first few chapters. In one of my programs it has me create, I us

5条回答
  •  时光说笑
    2020-11-28 23:32

    What is the proper #include for the function 'sleep()'?

    sleep() isn't Standard C, but POSIX so it should be:

    #include 
    

提交回复
热议问题