I am a beginner with Visual Studio and now I want to run a C++ program on it, but when I compile the program there is an error that <sys/select.h>
is not defined.
So, how can I define it or include it in the project?
sys/select.h
is a POSIX header that supports select()
; the equivalent on Win32 only works on sockets, so you are unlikely to get the code working on Windows unless you are already skilled at porting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With