Solved

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

Posted on 2006-06-25
5
191 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mapAB Challlenge 35 128
Image decoding from Camera 3 72
Adding Namespace to the second node of the xml 16 65
Turning python script into an applet 12 104
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.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now