Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

C# C++ C++.net diffrences?

Posted on 2006-06-25
5
Medium Priority
?
197 Views
Last Modified: 2010-04-17
Is there a table which maps the diffrences between the languges?
0
Comment
Question by:noam_dz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 2000 total points
ID: 16978082
I think that you need to define more precisely what information do you need.
C# and C++ are different languages, so such table will contain all language features. I don't think that EE allows posts of such size :)

About C++ and C++ .NET. Visual Studio .NET contains C++ compiler which allows to write both unmanaged C++ applications (old C++) and managed applications (C++/CLI). C++/CLI language works with .NET classes and accesses the same resources as C#. All managed .NET languages (C++/CLI, C#, VB) are different interfaces to the same .NET resources, the difference is only in syntax. Programmer who wants to start with .NET programming, can chooce any language he wants. Usually VB6 programmers prefer VB, and C++ programmers prefer C#. Without previous experience, recommended choice is C#.

The most important feature of C++/CLI is it's ability to write mixed-mode applications, which can contain both managed and unmanaged code. C++/CLI allows to call directly any unmanaged functions, this is the best choice for interoperability and using legacy C++ code.

My personal preference is C#. However, 50% of my code is written in C++/CLI, because I need to talk with different hardware devices using unmanaged SDK, and I need to use legacy C++ code.
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 16978332
Nice article. How should I react on this?
0
 
LVL 4

Author Comment

by:noam_dz
ID: 16978348
No reaction, just additional info for EE archives.
I found it looking for terms in your answer.
You gave a good summery of the subject.
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 16978357
Just wanted to know what to do :)
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Six Sigma Control Plans
Progress

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question