Hi,
I'm using a call to sleep() in main() of a C++ program.
I've got #include unistd.h but when I compile using gnu c++ compiler I get the following error .......
" 'sleep' undeclared (first use of this function) "
Anybody got any ideas why ? I'm stumped
Cheers,
Brian.
I'm using a call to sleep() in main() of a C++ program.
I've got #include unistd.h but when I compile using gnu c++ compiler I get the following error .......
" 'sleep' undeclared (first use of this function) "
Anybody got any ideas why ? I'm stumped
Cheers,
Brian.