I think you should go ahead and do it under linux (gcc?). This will teach you some stuff about 'old school' programming. Forget about using an IDE, use vim (if you allready get it) or nedit (more like notepad).
Compile on the command line. Link it yourself. Write a make file to do this.
This is the basics. You need to understand it before using an IDE. Do this while you are still at university, because it's a pain and you will (and should) want to use an IDE for real work!
Also, a basic understanding of unix is not hard to achieve (I have found my way around solaris, ubuntu and os x, coming from a windows background) - a few simple tutorials should get you up and running. For writing small school projects, there is not much you need to know: cd
, ls
, mkdir
, make
, gcc
(be sure to use g++
for C++ projects - that has bitten me on my mac before...). Stay close to your home directory (~
).
Doing your project on the target system will help you get certain stuff right: When doing these simple sockets and pthreads examples, I found compiling and linking them to be non-plattform portable. On certain systems, linking in the libraries needs to be done this way, on others that way.
BTW: If you really do want to do this under windows, your best bet is to have a POSIX environment under windows. POSIX sockets are different to the windows networking model if I remember correctly.
Try either mingw or cygwin. Both should give you the *nix development environment under Windows. You can use your favorite text editor (a windows port of vim?) and cmd.exe instead of bash for starting the compiler :)
EDIT: Sorry, if the tone is confrontational (according to comment). I will try to soften it a bit. It's just... I have seen quite a few people trying to learn C/C++ (or Java for that matter) with IDEs and have come to believe that they get in the way for starting off. Sure, you will need better tools for real life programs, but the overhead of project files etc. for school sample projects adds clutter. It also makes it harder to email your homework to your teacher - a zip with a bunch of .c and .h files and a makefile is really as simple as it gets...