"Chris Haidvogel" <no*@real.address.net> wrote in
news:8E**********************************@microsof t.com...
Hi all,
I have been reading up on multiple aspects of .NET but I have a question
for
the group. All of the examples I have seen regarding the use of .NET have
been either C# or VB. Seeing this makes me worry that C++ is not being
shown
because it does not work well. Does anyone out there have any experience
using C++ in .NET? Are there enogh perks to make the learning curve worth
it
to use C++ in .NET?
It depends on what you mean with "does not work so well": managed C++ works
fine, you can do pretty much everything with it; However it has (IMO) 2
major drawbacks:
- It lacks a lot the syntactic sugar C# has (e.g. for events, properties,
foreach, lock...)
- It needs lots of cryptic keywords (like __gc, __value...)
This is of course especially bad for sample programs...
Personally, I would only recommend using MC++ for porting legacy code.
Niki