I think you should go and do it under Linux (gcc?). This will teach you some things about "old school" programming. Forget about using the IDE, use vim (if you already got one) or nedit (more like notepad).
Compile on the command line. Tie it yourself. Write a make file for this.
These are the basics. You need to understand this before using the IDE. Do this while you're still at university, because it's a pain, and you (and should) want to use the IDE for real work!
In addition, a basic understanding of Unix is ββnot difficult (I found my way around Solaris, Ubuntu, and OS X, coming from the Windows background) - you need to run some simple guides. To write small school projects you need little to know: cd , ls , mkdir , make , gcc (be sure to use g++ for C ++ projects - this has bitten me on my Mac before ...). Stay close to your home directory ( ~ ).
Running your project on the target system will help you understand some things correctly: when I ran these simple sockets and pthreads examples, I found a compilation and binding them to non-portable ones. On some systems, linking in libraries must be done this way, in other ways.
BTW . If you really want to do this under Windows, it is best to have a POSIX environment under Windows. POSIX sockets are different from the Windows network model, if I remember correctly.
Try either MinGW or Cygwin. Both should provide you with * nix development environment for Windows. You can use your favorite text editor (Windows vim port?) And cmd.exe instead of bash to run the compiler :)
EDIT : Sorry if the tone is confrontational (as per the comment). I will try to soften it a little. It's just ... I saw a lot of people trying to learn C / C ++ (or Java, for that matter) with the IDE, and came to the conclusion that they were stopping me from starting. Of course, you will need the best tools for real programs, but the overhead of project files, etc. For school pattern designs, add clutter. It also makes it difficult to email your homework to your teacher - a zip with a bunch of .c and .h files, and a make file is really as simple as ...
Daren thomas
source share