I'm a programming neewbie! but i want to learn it!
i use the MS Visual Studio 6!
when i want to compile source codes (.c) to binarys (.exe) i very often get messages like "include file not found" and then i get filenames like "unistd.h" or "sys/socket.h".
can someone tell me where i can get those files? can it be that they are on one of the other 5 CDs of Visual Studio? (I only needet the first one to install)
I'd hazard a guess that you are trying to compile platform specific UNIX code on windows which isn't going to work. Those headers don't exist with any version of msvc that I know of.
If you're still determined to try to get whatever code that uses them to work then search google for the files in question where you will no doubt be able to find some version or other.
If you want to do socket programming on windows then try searching google or this board/network board for 'winsock'.
Perhaps someone with more knowledge of UNIX/windows cross-platform compiling than my next-to-none may be able to offer more cogent advice.
Good luck anyway.
It's certainly unix code passiW is trying to compile. The include in question is for standard symbolic constants and types, although it has prototypes for many functions too. Even if the include file was converted for MSVC++, my guess is that the program would still be using lots of unix-specific function calls that simply don't exist under Windows.
Something like Cygwin may help with the conversion however.
Thanks for the clarification, _Elixia_; much appreciated. :)