I use the Big Nerd Ranch Objective-C Programming book, and it starts with what we write in C in the first few chapters. In one of my programs, he creates me, I use the sleep function. I was told in the book that #include <stdlib.h> is under the #include <stdio.h> . This should get rid of the warning that says: "The implicit declaration of the" sleep "function is not valid in C99." But for some reason, after I put #include <stdlib.h> , the warning will not go away. This problem does not prevent the program from working fine, but I was just curious about which #include I needed to use!
c sleep
trludt Feb 11 '13 at 18:02 2013-02-11 18:02
source share