Re: Compiler for C++ programming
On Sep 10, 9:22 pm, Jerry Coffin <jerryvcof...@yahoo.com> wrote:
In article <6171e39d-ff52-4a29-9dd0-6080da370434
@t2g2000yqn.googlegroups.com>, james.ka...@gmail.com says...
On Sep 10, 9:21 am, Jerome <jerome.c.dso...@gmail.com> wrote:
Which compiler would be good to learn C++ template
programming, on windows platform.
I have access to VC++, but I have read that VC++ does not
provide the STL library as per the C++ STL standards.
That's complete bullshit. The standard library of VC++ is
probably the best and most complete there is---only g++ is in
any way comparable. VC++ is also one of the best C++ compilers
around---only the EDG front ends are better.
I'd agree with that much.
It does have one major defect: the code it generates doesn't
work on a Sparc, under Solaris, which until recently, was my
major platform. I really do wish it (or something equally as
good) were available for Unix platforms. (Not that it really
matters to me any more. Starting in a week from now, I'll be
working in a purely Microsoft environment.)
If you're working
under Windows, there's absolutely no reason to use anything
else. (Except, of course, for portability checks. It's always
better to compile code with two or more compilers, just to be
sure.)
Even when portability isn't the issue, I find Comeau C++ to
provide excellent diagnostics, especially for templates. When
you can't quite figure out why something won't compile, the
error message from Comeau is often enough more specific that
when VC++ left you scratching your head, Comeau tells you
exactly what to do.
I hesitated about mentionning Comeau. For various reasons, I've
not used it enough to judge myself, but everything I've seen or
heard about it has been highly positive. And everyone I know
who has used it rates it as best.
--
James Kanze