Johs32 said:
I would like to write some C code in winXP. I was told that I could use
visual c++ but does that not only work for C++?
What compiler is the best for C and C++ in windows?
Each compiler has its good points and bad points. For example, my thoughts
on a few of the common ones are:-
Salford C++ => Supposedly has features to help a beginner get started.
Expensive for the individual
Microsoft Visual "C" => Good IDE, may be needed for some programs, use may
cause poloitical harm. I have found its include files a little odd.
GNU C => Mingw Port => Free compiler that produces Native C code. Missing
some oft used routines in the library.
GNU C => cygwin => Basically same compiler but use a UNIX compatability
layer. Better UNIX compatability, but changes in comptabaility layer may
make distribution and testcode tricky..
Watcomm "C". => Free compiler with IDE, Native Windows code, good help
system. Bit of a niche compiler so support may not be as good as the others.
Also if you are modifiying existing code than using the same compiler as the
author may help.