Table of Differences Between C++ and C#

M

Matt F

Hey all,
I'm a hobbyist programmer who usually codes in C++ or Java. I don't
claim to be experts at either, and I'm not familiar with different types
of variables, inheritance systems, etc. I've decided to play around with
C# and .NET 2.0 a little bit, but I'm still not completely certain about
the differences between C++ and C#. All I know is that there are some
limitations that aren't on C++ (which is probably a good thing... I
think the saying goes "C will let you shoot yourself in the foot; C++
makes it harder, but when you do you blow your whole leg off.").
Does anyone know where I can find a list of the differences with
examples as opposed to just vocabulary that a self-taught programmer
like myself wouldn't know?
Thanks in advance. I'm still not sure of what I think about visually
designing the interface (as in most C++ apps and Java apps you code the
interface), but C# and .NET both look very powerful. I only hope I'll be
able to tap some of that power.

MF
 
K

Kevin Spencer

Hi MF,

I have a couple of recommnded resources for you. First, the Microsoft .Net
SDK, which contains the entire reference for the .Net platform, including
all of the languages that Microsoft supports for it (VB.Net, C++, C#, and
J#):

http://msdn.microsoft.com/netframework/downloads/updates/default.aspx

Second, if that's a bit more than you want to chew on, here's a link to the
specification for C#:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csspec/html/csharpspecstart.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.
 
E

Eddie

Matt said:
Hey all,
I'm a hobbyist programmer who usually codes in C++ or Java. I don't
claim to be experts at either, and I'm not familiar with different types
of variables, inheritance systems, etc. I've decided to play around with
C# and .NET 2.0 a little bit, but I'm still not completely certain about
the differences between C++ and C#. All I know is that there are some
limitations that aren't on C++ (which is probably a good thing... I
think the saying goes "C will let you shoot yourself in the foot; C++
makes it harder, but when you do you blow your whole leg off.").
Does anyone know where I can find a list of the differences with
examples as opposed to just vocabulary that a self-taught programmer
like myself wouldn't know?
Thanks in advance. I'm still not sure of what I think about visually
designing the interface (as in most C++ apps and Java apps you code the
interface), but C# and .NET both look very powerful. I only hope I'll be
able to tap some of that power.

MF

Matt

Since you didn't appear to get an answer giving "differences with
examples" this may be of some use - a table of differences between the
various C languages, Java and D - from the D web site (digitalmars.com).

http://www.digitalmars.com/d/comparison.html

IMHO I see C# as being like Delphi - ie it's a good language that excels
in RAD with a GUI - whereas I find C/C++, while great for helper
routines and console programs, somewhat painful for RAD/GUI. Then, of
course, there are ways around these apparent limitations (eg wxWidgets,
SDL etc etc). I would think C# would be ideal for a "hobbyiist programmer".

Eddie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top