|VS user looking to learn Eclipse, some basic questions [message #694092]
||Thu, 07 July 2011 15:22
Registered: July 2011
I've been using VS2008/2010 for a while and I'm going to learn using Eclipse for C/C++ development (mainly C). I'm using Cygwin C compiler.
I am abit confused about libraries and includes though.
1) How do you properly include winsock2.h for example? I've tried this:
/* Windows-Build */
#if defined(WIN32) || defined(_WIN32)
#endif /* CONFIG_H_ */
But the compiler dosn't recognise SOCKET. Do you have to manually add the full path to winsock2 somewhere?
2) What about ws2_32.lib? Where do you include that in Eclipse? Do you have to add a path as well?
3) Having used VS mostly I'm new to makefiles. How do you include custom makefiles? Is there a good guide for starting with makefiles?
4) Is there a intellisense like in VS?
That's what I can figure out right now. Thanks!
Powered by FUDForum
. Page generated in 0.01526 seconds