Re: Which compiler for a learner of C?



Cong Wang said:

<snip>

VC++ is *NOT* recommended.

I wouldn't hesitate to recommend it, certainly anything up to Version 6.
When they went .NET, MS screwed with it somewhat, and I'm not entirely sure
I like the changes they made (translation: I really, really *don't* like
those changes!) - but it's still a reasonable IDE over a reasonable
compiler.

Because it even does't know the common
sense! When I had to use it in a lab of my university, it even
highlighted the word 'new' and 'this' in my **C** code.

Yeah, I know. But despite a few glitches like that, it's a very good
product, and the compiler understands (or rather, correctly chooses not to
understand!) 'new' and 'this' just fine.

And moreover,
it always gives fewer warnings, most of which are proved to be very
important, than gcc.

Have you tried disabling Microsoft extensions and cranking up to warning
level 4? It's no lint, I agree, but it's reasonable nonetheless.

Dev-C++ is smaller, and I think, it is better than VC++. ;-p

Not having used Dev-C++ myself as far as I can remember, I must rely on what
I hear from people I respect who have used it. From such reports, I gather
that it is not sufficiently bad to warn people away from, nor sufficiently
good to rave about and sell your kids into slavery for. :-)

--
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: Is it standard and practical to use long long types?
    ... > right option for putting the compiler in conforming mode. ... > compiler is invoked with the extensions disabled, ... Bogus/idiotic warnings when all warnings are enabled. ... GCC does not fully support C99, yet ansi invokes it's C99 spirit. ...
    (comp.lang.c)
  • Re: Is it standard and practical to use long long types?
    ... > right option for putting the compiler in conforming mode. ... > compiler is invoked with the extensions disabled, ... Bogus/idiotic warnings when all warnings are enabled. ... GCC does not fully support C99, yet ansi invokes it's C99 spirit. ...
    (comp.lang.cpp)
  • Re: Tcl 8.5 HP/UX Compiler warnings
    ... results and "the optional HP ANSI C compiler", ... stat64 struct pointers are being ... The elementary types of the structure ... other warnings I cited are similarly harmless. ...
    (comp.lang.tcl)
  • Re: Is it standard and practical to use long long types?
    ... right option for putting the compiler in conforming mode. ... Bogus/idiotic warnings when all warnings are enabled. ... For reference, this what I get from gcc, when invoked in conforming mode ...
    (comp.lang.cpp)
  • Re: Is it standard and practical to use long long types?
    ... right option for putting the compiler in conforming mode. ... Bogus/idiotic warnings when all warnings are enabled. ... For reference, this what I get from gcc, when invoked in conforming mode ...
    (comp.lang.c)