Re: Which compiler for a learner of C?



On Thu, 28 Sep 2006 10:29:28 +0200, in comp.lang.c , Michael Mair
<Michael.Mair@xxxxxxxxxxxxxxx> wrote:

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,
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.

Euh, you might want to point that out to the many major international
companies who used it extensively in its time.

For what its worth I dispute all three of your findings too (two of
them entirely, and one somewhat), but heck, this isn't a Microsoft
advocacy group, nor yet one discussing MSVC so...

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
.



Relevant Pages

  • Re: Security level changes dont stick
    ... how should the kernel be configured? ... "To work on a program with the compiler in debug mode and then to sell it ... compiling it without the debug option is like learning to swim with floaters ...
    (comp.os.linux.security)
  • Re: Differences between checked and free versions of a driver
    ... a bug in the compiler. ... Try to find out why the HCT test fails. ... I never compile my drivers in the debug mode just to avoid the problems you ... The test fails when I am using free version of the driver ...
    (microsoft.public.development.device.drivers)
  • Re: object file size is reduced after build
    ... source code and the size of the object module. ... that you compiled with exactly the same compiler options; ... Can you explain clearly what is debug mode ... all debugging symbols are compiled into the ...
    (comp.lang.c)
  • Re: Why INFINITE loop in a thread occupy so much CPU time??
    ... measuring code quality or program efficiency. ... You stated the K&R compiler did the silly thing of testing ... In debug mode, nothing, repeat nothing, matters. ... my Ph.D. is in optimizing compiler technology. ...
    (microsoft.public.vc.mfc)
  • Re: object file size is reduced after build
    ... code and the size of the object module. ... adding source code could indeed reduce the size of the object ... with exactly the same compiler options; if you didn't, ... Can you explain clearly what is debug mode ...
    (comp.lang.c)