C# VS C++

OK. I want to have a crack at programming - C#/C++ seems the way to go.

What are the differences between the two - and which would you say was best to learn to create basic apps?

[180 byte] By [chrishouse] at [2007-12-16]
# 1
Hi Chris,

For application development, C# with the .NET Framework would be the de facto choice on Microsoft Platform.

Article below does some comparison:
Sharp New Language: C# Offers the Power of C++ and Simplicity of Visual Basic

Regards,
Vikram

Vikram at 2007-9-8 > top of Msdn Tech,Visual C#,Visual C# General...
# 2
Hi,
Chris, I'd suggest C++/CLI... C++ now has a C# like approach to .net framework programming. As vikram said, C# is the de facto choice on Microsoft platform. That's why Microsoft implemented the CLI(Common Language Infrastructure) in C++. Now (in c++) you could create pure managed .net code, plus you would be given a chance to implement native C++ code to be able to extend your .net application.
Well vikram and I have already given you the choices. So the decision is now in your hands... Good Luck...
BTW, C++/CLI is only available in VS2005 codenamed whidbey...
cheers,
Paul June A. Domag
PaulDomag at 2007-9-8 > top of Msdn Tech,Visual C#,Visual C# General...
# 3
I would avoid C++/CLI for a couple of years. Although it is a lot better than the atrocity that was Managed C++, it is still in its infancy and its future support is still unknown.

I personally would suggest C#, I've had three years experience of it and it is definitely the nicest and most rewarding language I've worked with. No header files, better intellisense in the IDE, no confusing keywords (no underscores or double underscores), and the entire .NET Framework was written in it.

DavidM.Kean at 2007-9-8 > top of Msdn Tech,Visual C#,Visual C# General...
# 4
Hello David and others,

I was just looking through the forums and I've been reading some very useful information. I have been studying C# for a while now and I am finding it very powerful. I wanted to start looking into C++, but I've heard from other developers that Visual C++.NET 2003 edition is not very good. What's not very good about it? It would be quite useful to know.

Thanks and have a good day everyone Smile,

- Jools

Jools at 2007-9-8 > top of Msdn Tech,Visual C#,Visual C# General...
# 5
If you're targeting the .NET framework I'd go for C#.

C++ is simply NOT designed for it.

erossetto at 2007-9-8 > top of Msdn Tech,Visual C#,Visual C# General...
# 6

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

< href="mailto:erossetto@discussions.microsoft.com">erossetto@discussions..microsoft.com>

wrote in message href="news:03583ce3-c8a0-4ba9-9606-d23ecdda6856_WBRev2_@discussions.microsoft.com">news:03583ce3-c8a0-4ba9-9606-d23ecdda6856_WBRev2_@discussions..microsoft.com...

This post has been edited either by the author or a moderator in the

Microsoft Forums: http://forums.microsoft.com If you're targeting the ..NET

framework I'd go for C#.

C++ is simply NOT designed for it.

No not C++, but C++/CLI in VS2005 is designed

for .NET and is currently the most powerfull language for ..NET.

Willy.

MVPUser at 2007-9-8 > top of Msdn Tech,Visual C#,Visual C# General...