Hi,
got the following compiler error when trying to compile this:
WSAIoctl(s, SIO_RCVALL, &val, sizeof(val), NULL, 0, &len, NULL, NULL);
undefined reference to `WSAIoctl@36'. I looked into the FAQ and linked
the -lwsock32 but this error still appears. Any hint?
---
Michael
Greetings
I am trying to compile a c++ file main.cpp and is getting an error
[Linking error] undefined reference to Get().
main.cpp has an instruction to include a file Random1.h. The later gives the prototypes of Get(). The function itself is defined in Ramdom1.cpp
I have two questions:
1- How do I link the file Random1.cpp
2-Is there a way to use something shorter than the long directive
#include <C:\Documents and Settings\Gerard\Desktop\Math_home\Joshi\Test\Random1.h>
Because, if I am working on a lot of files it becomes tedious. May be there is a way to tell the system where to look for files.
---------------------------------
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.