Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
squareUp  challenge 22 107
nestparen challenge 4 57
WMI, model #, retrieving information 10 94
PHP question(s) about order of output 9 44
This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 …
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now