Re: [Dev-C++] sleep() in unistd.h ??
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Per W. <pw...@ia...> - 2002-12-12 19:45:05
|
If you do "grep -i sleep" in your include directory, you will notice: stdlib.h: _sleep(unsigned long); winbase.h: void WINAPI Sleep(DWORD); winbase.h: DWORD WINAPI SleepEx(DWORD,BOOL); /Per W On Thu, 12 Dec 2002 we...@ha... wrote: > Hi, > > I use always sleep() in linux. I tried it with Dev-C++ and it geve a > error... in a sample example like this: > > #include <stdio.h> > #include <unistd.h> > > int main(){ > > sleep(15); > > return(0); > } > > In what header is sleep() ?? > > If it didn't exist what funcion can i use that do the something ?? What > header i need ?? > > Thkz a lot. > > Best Regards. > > [ ]'s > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |