Solved

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

Posted on 2006-06-25
5
192 Views
Last Modified: 2010-04-17
Is there a table which maps the diffrences between the languges?
0
Comment
Question by:noam_dz
  • 3
  • 2
5 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 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 4

Author Comment

by:noam_dz
ID: 16978267
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This is about my first experience with programming Arduino.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

776 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