| | CODE /* sleep example */ #include <dos.h> #include <stdio.h> int main(void) { int i; for (i=1; i<5; i++) { printf("Sleeping for %d seconds\n", i); sleep(i); } return 0; } I have turbo C++, i found this in its help file shouldn't it work?, when i run it i get: CODE Compiling NONAME00.CPP: Error NONAME00.CPP 8: Call to undefined function 'sleep' in function main() I tried library <time.h>, doesn't work. In which library is sleep() function? |

