Re: Which compiler for a learner of C?



Michael Mair said:

Richard Heathfield wrote:
pkirk25 said:
I own a legit copy of Visual C++ 6.0

Its nice but it is 10 years old and aimed at C++.

It still does C just fine, though. It's a very good C compiler with a
fine IDE. In fact, on the rare occasions when I use Windows, it's my C
compiler of choice. (And I'm Mr Anti-Microsoft!)

Hmmm, that may be true for small to middle projects.
However, the fact that some of the standard headers lead to warnings,

Yes, the most stupid being the // in math.h

But in fact that was the only one I couldn't get rid of, at Warning Level 4.
(Many a time I've been tempted to go and hack math.h into bits.)

that you cannot rely on the optimisation to produce the same programme
behaviour as unoptimised code, and that it cannot compile and link
projects of a certain size in Debug mode make it a beginners' tool in
my eyes.

Check the topic title again. :-)

And in any case I've compiled and linked programs hundreds of KLOC in size
on VStudio without problems. I accept that hundreds of KLOC counts as a
middle-sized project at most, but I doubt whether a much bigger project is
worth developing on Windows, since surely such a large development
investment merits spending a little extra to acquire a stable platform. :-)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.



Relevant Pages

  • Re: object system...
    ... to judge their programming skills by their kloc output... ... I once calculated my average code inflation at 250 loc/day, ... (technically, the lower-compiler, where the upper compiler is arch neutral), ... as I have gotten a free interpreter without actually ...
    (comp.object)
  • Re: parser
    ... maybe followed by Scheme or Common Lisp. ... much of the machinery that makes these work well (dynamic ... is presently another 12 kloc, of which 2.65 kloc is the parser (the rest: ... the bytecode compiler and interpreter, ...
    (comp.programming)
  • Re: parser
    ... much of the machinery that makes these work well (dynamic ... is presently another 12 kloc, of which 2.65 kloc is the parser (the rest: ... the bytecode compiler and interpreter, ...
    (comp.programming)
  • Re: Which compiler for a learner of C?
    ... In fact, on the rare occasions when I use Windows, it's my C compiler ... that may be true for small to middle projects. ... that you cannot rely on the optimisation to produce the same programme ... projects of a certain size in Debug mode make it a beginners' tool in ...
    (comp.lang.c)