Microsoft-specific
pragmas need not work anywhere but with a Microsoft toolchain.
#pragma comment(lib, "ws2_32")
I use the LCC compiler and linker on windowsXP.
What does the LCC documentation say about linking to specific libraries?
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004