savagesmc said:
I think that Alf guy is misleading the original poster by telling him
that you can't write c++ programs in cygwin, and that MingW what he
must use. Cygwin is much more than just a unix-like command
interpreter, it comes with a compiler, linker, and all the other stuff
you need to compile and run ansi compilant (or close to it) c++
As does MingW/MsysDTK.
programs. It has a fairly posix compilant pthreads library for
mutlithreaded applications, and it has a sockets library so you can
write networking applications if you want. If you install the X11
option, you can even compile and run X11 based graphics applications in
cygwin.
And have a complete different environment within your windows
environment, on the cost of an emulation layer between them.
MingW is more windows friendly while being an almost complete unix-ish
environment - not any worse than Cygwin.
A difference is, that it wraps the microsoft libc implementation and
other things, rather than adding a runtime emulation layer. However,
much of MingW would not have been possible without the work put into cygwin.
While MingW may also work for a lot of things - probably homework
included, my experience is that you get a much more complete
development environment when you use cygwin.
I use MinGW, and I use it not for homework. It does not only work for a
lot of things, it also works for more things better than Cygwin, without
violating the rest of the system. And it is also fairly complete.
Windows became my friend with MinGW ;-). Not my best friend, but anyhow...
Eckhard