C++ & C#

Posted on 2003-03-09
Medium Priority
Last Modified: 2010-04-15
hey all,

I am new at C++, and I would like to know what is the difference between C++ & C++, can anybody tell me ?
Question by:eXistenz
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
LVL 23

Accepted Solution

naveenkohli earned 100 total points
ID: 8098376
1. There is no multiple inheritance.
2. Every object is derived from a common class "Object".
3. No pointers... no memory leak problem (as long as you don;t use any unmanaged resources like file handles, sync objects, etc..) Automatic garbage collection.
4. No templates.
5. No function pointers. But there is a better mechanism of delegates.
6. No call back functions. You use events/delegates.
7. YOu will miss common include file where you were able to put all the commonly used file includes at one place.

You question is kind of not very clear. SO the whole discussion is assuming that you are moving from C++ to C#

Assisted Solution

jkrill earned 100 total points
ID: 8098631
Jesse Liberty wrote an excellent ariticle about this called "C++ -> C#: What You Need to Know to Move from C++ to C#" - it can be found on MSDN at http://msdn.microsoft.com/msdnmag/issues/01/07/ctocsharp/default.aspx

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

764 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